4 ms·
Interestingly though GET with data exists in the wild, and has for many years. I manage a http library class, and a customer encountered an API that required a
by bruce511 4y ago
Interestingly though GET with data exists in the wild, and has for many years.
I manage a http library class, and a customer encountered an API that required a GET but with data. (think query parameters passed as XML).
I implemented that for the customer, and then implemented the reverse in the server class. I'm not going to say its used a lot, but it makes semantic sense.
Incidentally it also becomes true for DELETE which is another request typically without a body.
This is the first I've heard of QUERY though, so look forward to reading up on that.
- sakisv 4y agoJust a heads-up that cloudfront will return a 403 when it receives a GET with body. It's documented and all but I still find it a peculiar choice. A 400 would have been better and less of a red herring.
- jshier 4y agoIt also produces an error on all Apple platforms, as it's banned by URLSession.
- deleted 4y ago[deleted]