7 ms·
Just send a POST request lol
by 0xb0565e487 4y ago
Just send a POST request lol
- HideousKojima 4y agoBut 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 4y agoQUERY is cacheable.
- est 4y ago... in theory only. Not that many http cache programs support QUERY. And many HTTP middle-boxes bans non GET/POST verbs.
- counttheforks 4y agoFor now. Change has to come from somewhere.
- cogman10 4y agoAnd retry-able.
- duxup 4y agoIn practice I think that’s exactly what many people do.
- Existenceblinks 4y agoGraphQL is doomed?
- RedShift1 4y agoNo, this would actually be very useful for GraphQL API's.
- NickLamp 4y agoI do... but there are good reasons to not want to. If you read the linked spec you can learn for yourself https://httpwg.org/http-extensions/draft-ietf-httpbis-safe-method-w-body.html https://httpwg.org/http-extensions/draft-ietf-httpbis-safe-m...