'Is sending POST data with a GET request valid?
Using Curl for example, I can "post" data (send an entity-body) in a GET request. Is this a valid thing to do? With that I mean:
- Is it not forbidden by any RFC specification?
- Does someone out there use it with good reason?
Solution 1:[1]
There is a "good reason" use case out there.
elasticsearch uses entity-body data in GET requests to try to use the GET verb as a read while also allowing a more complicated specification than url alone allows (easily).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | underrun |
