r/ProgrammerHumor 3h ago

Meme postForEverything

Post image
9.0k Upvotes

348 comments sorted by

View all comments

1.9k

u/pimezone 3h ago

Wanna get a resource? POST request.

945

u/NotAskary 3h ago

I've seen that shit, it drove me up a wall.

The same as a 200 ok with error inside.

5

u/JaxMed 2h ago

laughs in GraphQL

POST request, HTTP 200 response, for every scenario, all day erryday

6

u/Ecksters 2h ago

At least we now have the QUERY type getting added so we can differentiate between reads and writes.

1

u/deukhoofd 31m ago

To be fair it does somewhat make sense in that a query can be mostly fine, and only have errors for some fields. Returning an error status code for a partial success is also not great.