hsubra89
Using HTTP:POST for `query`?
Hmm, good point. However, caching API responses doesn’t seem like a standard use case. Especially if it’s behind auth as well.
I was also under the impression that as long as cache-control headers are present, POST requests will be cached as well ( by CDNs and the browser )
10 replies
Using HTTP:POST for `query`?
Rather than allow customising the underlying verb, using
POST
for everything would simplify everyone's lives IMO. I don't really see why there's any need for the HTTP verb to change based on whether something is a query or mutation within the app. The transport is mostly abstracted from the user anyway.10 replies