| ▲ | elendilm 5 hours ago | |||||||||||||
You would be surprised how many technologies expect GET with a body. In practical backend engineering, tools like Elasticsearch, GraphQL, complex query engines, and legacy internal APIs rely on GET with a body every day. Apparently even axios messes up on curl GET requests with a body as mentioned in the associated github issue. Perhaps the broken thing might be how you expect existing softwares to break so that your expectation can be satisfied. You should look at GET more closely. There is a reason curl allows to send GET requests with a body. There is a reason node allows to receive GET requests with a body. | ||||||||||||||
| ▲ | pdpi 4 hours ago | parent [-] | |||||||||||||
A request body in a GET is not standard HTTP. Refusing to handle non-standard requests might be inconvenient, but it's an eminently defensible choice. I understand why you'd want it, and that's why RFC10008 introduces QUERY as a GET-with-body alternative. | ||||||||||||||
| ||||||||||||||