« Notes
HTTP QUERY
Créée le 28 Aug 2026
http
- #http
- https://www.rfc-editor.org/rfc/rfc10008.html
- The
QUERY HTTP verb is meant to have same semantic as GET and a replacement of POST or GET routes with respectively a body and bunch of query params used to query (read only) entities
QUERY is idempotent and cacheable
- It’s a replacement for routes that uses verbs:
POST with read only semantic that bakes the query into the body
- ex body:
sort=desc&page=1&filterUser=john
- ex: graphql query
- no idempotency / caching baked in
GET with wagons of query params, like ?sort=desc&page=1&filterUser=john
- could hit the max url length
- lead to repetitive or homemade encoding for some kind of values (like arrays)