Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

GET requests can have a body. Some clients fail at handling this and you have to use method overrides, though.


GET requests can have a body but by spec they aren't supposed to parse it with the request

https://groups.yahoo.com/neo/groups/rest-discuss/conversatio...


We have fifteen years worth of client and proxy implementations that do not support GET with a request body. This ill-conceived spec change violates "be conservative in what you send" just to avoid adding a new idempotent request method that actually defines usable semantics for its body.


If I had to consume an API with entity-body-having GETs, I would definitely conclude the designers had no practical experience in the field, and had read about this obscure possibility somewhere...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: