Re:Request bodies in GET requests
by dylan604 on Monday January 31, 2022 @02:44PM
(#30153208)
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
[ Parent
| on HN ]
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.