logoalt Hacker News

elendilm • today at 2:51 AM • 2 replies • view on HN

No. There are use cases for GET with body. Curl allows it. Node allows it. Bun doesn't.


Replies

chiffaa • today at 4:19 AM

There may be use-cases (and the RFC allows ignoring the SHOULD clause with enough reasoning), but GET does not have a request body as per specification, and a LOT of things drop it because of that (most notably - nginx! Also applies to HAProxy and Apache HTTP server afaik, but also a bunch of load balancers)

ericlewis • today at 3:07 AM

no.

➕ show 1 reply