Re:The State of HTTP in 2022
by 0xb0565e487 on Saturday December 31, 2022 @10:47PM
(#34203389)
Just send a POST request lol
[ Parent
| on HN ]
I 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-m...
Re:The State of HTTP in 2022
by HideousKojima on Saturday December 31, 2022 @10:51PM
(#34203409)
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.
In practice I think that’s exactly what many people do.
Re:The State of HTTP in 2022
by spiffytech on Saturday December 31, 2022 @10:57PM
(#34203431)
QUERY is cacheable.
... in theory only. Not that many http cache programs support QUERY. And many HTTP middle-boxes bans non GET/POST verbs.
Re:The State of HTTP in 2022
by counttheforks on Sunday January 01, 2023 @07:32AM
(#34205807)
For now. Change has to come from somewhere.
And retry-able.
Re:The State of HTTP in 2022
by Existenceblinks on Saturday December 31, 2022 @11:00PM
(#34203453)
GraphQL is doomed?