IETF Standardizes HTTP QUERY Method to Fix Long-Standing GET vs POST Dilemma
The Internet Engineering Task Force (IETF) officially standardized a new HTTP method called QUERY in June 2026 under RFC 10008. The method addresses a long-standing problem where developers had to choose between cramming complex query parameters into GET URLs or using POST requests that lack safe, idempotent, and cacheable semantics. QUERY combines the best of both approaches by allowing request bodies of any media type while retaining the caching and retry-safe properties of GET. To ease caching, servers can return Content-Location or Location headers after a QUERY request, enabling clients to subsequently use standard GET requests for the same data. The new method is particularly relevant for APIs — including GraphQL — that currently send read operations over POST as a workaround.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in