News for hackers. Stuff that matters.
Re:Request bodies in GET requests by dylan604 on Monday January 31, 2022 @02:30PM (#30152975)
This was the first I had heard of Query as well, but admittedly I don't pay too close attention to those discussions.
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.
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
Re:Request bodies in GET requests by treve on Monday January 31, 2022 @02:47PM (#30153237)
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.