The old gap
GET or POST, neither is perfect
When you fetch data with filters, you always had to choose between two flawed tools. Each has half the answer.
- GET
- safe and cacheable, but the parameters are in the URL, there's a length limit, and it ends up in the logs.
- POST
- carries a large request body, but the protocol doesn't know it's a safe read, so it can't be cached.
A complex filter forced you to give up: either the cache, or the size.
Enter QUERY
The body of POST, the safety of GET
QUERY takes the best of both worlds: a request body like POST, but marked as "safe to repeat", exactly like GET.
- The filter travels in the request body. Clean JSON instead of a giant URL.
- "Safe to repeat" means: you can try again without breaking anything.
- The request
- QUERY /users, with a JSON body: { "role":"admin", "sort":"name" }
The same request, but now the protocol itself knows it's read-only.
How it makes the web more efficient
Caching, CDN and safe retries
Here's the real efficiency: when a request is marked "safe" as part of the standard itself, the network infrastructure can treat it differently.
- Caching: a CDN can store the result of a complex query, something POST never allowed.
- Retries: you can retry automatically without duplicating an action.
- Fewer calls reaching the server: less load, a faster response.
A query you can cache is a query that, the second time, never reaches the server at all.
When it concerns you
Gradual adoption
The standard is already final, but the infrastructure is still catching up. Among its three authors are engineers from Cloudflare and Akamai, so CDN support is expected to arrive first. As of late 2026, caching of QUERY at scale isn't really there yet.
- Servers announce support with the Accept-Query header.
- A sane path: add QUERY alongside an existing POST endpoint, and let clients move over.
- From the browser, a QUERY request always goes through a CORS preflight check first, and you don't assume the browser will cache it.
- Worth following: curl, the browser's fetch(), and the frameworks. Node.js already recognizes it, and most frameworks don't yet.
Don't rush to replace everything. But this is the direction the web is heading.
What happened since
November 2026: Cloudflare, for agents
In July I wrote that CDN support was expected to arrive first. In November 2026 Cloudflare showed how: Search for Agents.
- The agent sends a question in plain language, with GET or with QUERY, and gets back content excerpts in Markdown, not a generated answer.
- This is the case QUERY was built for: a long question in the request body, safe to send again.
- Still unknown: whether those responses are actually cached.
- The source: Cloudflare Blog
- A search endpoint for agents
- one toggle, and Cloudflare opens it on the site, at /.well-known/search, where AI agents find it on their own.
Agents will probably be QUERY's first real users, even before browsers.
The web gets more efficient layer by layer.
QUERY is a small addition with a big effect: the first new standard method in HTTP since PATCH, in 2010. Building an API with complex filters? It's worth designing it with QUERY in mind already.