top | item 34203389 (no title) 0xb0565e487 | 3 years ago Just send a POST request lol discuss order hn newest HideousKojima|3 years ago But you're only "supposed" to use POST with requests that add/modify data, or something silly like that.In practice, QUERY is most useful for where you want a bunch of different verbs for the same endpoint and need a body. spiffytech|3 years ago QUERY is cacheable. est|3 years ago ... in theory only. Not that many http cache programs support QUERY. And many HTTP middle-boxes bans non GET/POST verbs. load replies (1) cogman10|3 years ago And retry-able. NickLamp|3 years ago I do... but there are good reasons to not want to. If you read the linked spec you can learn for yourselfhttps://httpwg.org/http-extensions/draft-ietf-httpbis-safe-m... duxup|3 years ago In practice I think that’s exactly what many people do. Existenceblinks|3 years ago GraphQL is doomed? RedShift1|3 years ago No, this would actually be very useful for GraphQL API's.
HideousKojima|3 years ago But you're only "supposed" to use POST with requests that add/modify data, or something silly like that.In practice, QUERY is most useful for where you want a bunch of different verbs for the same endpoint and need a body.
spiffytech|3 years ago QUERY is cacheable. est|3 years ago ... in theory only. Not that many http cache programs support QUERY. And many HTTP middle-boxes bans non GET/POST verbs. load replies (1) cogman10|3 years ago And retry-able.
est|3 years ago ... in theory only. Not that many http cache programs support QUERY. And many HTTP middle-boxes bans non GET/POST verbs. load replies (1)
NickLamp|3 years ago I do... but there are good reasons to not want to. If you read the linked spec you can learn for yourselfhttps://httpwg.org/http-extensions/draft-ietf-httpbis-safe-m...
Existenceblinks|3 years ago GraphQL is doomed? RedShift1|3 years ago No, this would actually be very useful for GraphQL API's.
HideousKojima|3 years ago
In practice, QUERY is most useful for where you want a bunch of different verbs for the same endpoint and need a body.
spiffytech|3 years ago
est|3 years ago
cogman10|3 years ago
NickLamp|3 years ago
https://httpwg.org/http-extensions/draft-ietf-httpbis-safe-m...
duxup|3 years ago
Existenceblinks|3 years ago
RedShift1|3 years ago