top | item 34203389

(no title)

0xb0565e487 | 3 years ago

Just send a POST request lol

discuss

order

HideousKojima|3 years ago

But you're only "supposed" to use POST with requests that add/modify data, or something silly like that.

In practice, QUERY is most useful for where you want a bunch of different verbs for the same endpoint and need a body.

spiffytech|3 years ago

QUERY is cacheable.

est|3 years ago

... in theory only. Not that many http cache programs support QUERY. And many HTTP middle-boxes bans non GET/POST verbs.

duxup|3 years ago

In practice I think that’s exactly what many people do.

Existenceblinks|3 years ago

GraphQL is doomed?

RedShift1|3 years ago

No, this would actually be very useful for GraphQL API's.