Remix.run Logo
nokeya 3 hours ago

If it needs so much explanation and discussion, maybe it is not a great idea after all?

flyingshelf 2 hours ago | parent | next [-]

Arguably the only explanation you need is that "QUERY is the same as GET plus a body". The article just explains what GET is and isn't, but that can be implied.

reddalo 3 hours ago | parent | prev | next [-]

The article describes the current situation first. The whole explanation is quite simple: QUERY requests are the same as GET, but they have a body.

someguynamedq 3 hours ago | parent [-]

So just add an optional body to get

dxdm 2 hours ago | parent [-]

The article also addresses why this is not the chosen solution. It's pretty much the first one you'd think of: all kinds of existing software (that can be between client and server and out of their control) already handle GET bodies in all kinds of incompatible ways, because the existing standard says they're meaningless and "shouldn't" be included. The idea is to not break people's stuff, so they don't rugpull the established standard.

There's usually a reason why the simplest solution that pops into one's head is not "just" used by the people who put a lot more thought into it. Not always, but it can be useful to try to come up with it.

IshKebab 2 hours ago | parent | prev [-]

It doesn't really need that much explanation though. TL;DR: It's GET but with bodies officially supported.