Re:Request bodies in GET requests
by Waterluvian on Monday January 31, 2022 @02:33PM
(#30153022)
Same. Also I (foolishly) perceived the spec as being rather stable and was not expecting a whole new verb.
[ Parent
| on HN ]
There's definitely a lot of misunderstood uses of the verbs, and I've maybe read about them one only a couple of times long long ago. I know POST gets bastardized a lot in attempts to avoid query strings attached to the end of GETs. Lots of people promoting that in tutorials/blogs/etc
QUERY seems to be on the path to standization, but using POST if other methods don't fit is/was the right way to do this!
Both PATCH and QUERY are newer and they are really specializations of what people used to use POST for.
Re:Request bodies in GET requests
by throwawayboise on Monday January 31, 2022 @06:30PM
(#30156369)
I have had to bastardize POST in a situation where I had to support an HTTP client that only implemented GET and POST. So the desired action, e.g. DELETE, was included in the POST data.