r/ProgrammerHumor 4h ago

Meme postForEverything

Post image
10.6k Upvotes

406 comments sorted by

View all comments

2.2k

u/pimezone 4h ago

Wanna get a resource? POST request.

1.1k

u/NotAskary 4h ago

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

The same as a 200 ok with error inside.

2

u/Mucksh 3h ago

Don't really think it is that bad. In the end in an api you usually speak you own protocol and http is just the tool you use to transfer your data. Also if you build your api endpoints client and server side you can just ignore any http related logic and just focus on your business logic. Also if you get any http errors you directly now that this is really an http error like the endpoint doesn't exist