Remix.run Logo
▲ HumanOstrich 5 hours ago

You shouldn't be sending a body with a GET request. Sounds like your code is broken.

▲elendilm 4 hours ago | parent [-]

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

▲chiffaa 3 hours ago | parent | next [-]

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 4 hours ago | parent | prev [-]

no.

▲elendilm 4 hours ago | parent [-]

Wrong.

Hint: Elasticsearch, GraphQL, Axios, etc..

▲a57721 2 hours ago | parent [-]

GraphQL uses POST for queries.

▲elendilm an hour ago | parent [-]

Many GraphQL clients/libraries use GET with body to workaround hitting URL query limitations like length, etc.

Spec is not the same as compatibility.