A modern approach to HTTP requests for complex queries
2024
Why existing HTTP methods fall short for complex queries
A purpose-built method for safe, cacheable query operations
A new HTTP method designed specifically for complex query operations
Like GET, QUERY doesn't modify server state and can be retried safely
Send complex queries in the request body without URL length limits
Responses can be cached, improving performance for repeated queries
Clearly expresses query intent, improving API design and documentation
HTTP QUERY method proposed as an official internet standard
Widespread interest on platforms like Hacker News and GitHub
Expected browser support and HTTP library adoption
Widespread use in REST APIs and GraphQL implementations
The future of HTTP queries is here