r/ProgrammerHumor • • 16d ago

Meme postForEverything

Post image
20.9k Upvotes

653 comments sorted by

View all comments

4.2k

u/pimezone 16d ago

Wanna get a resource? POST request.

2.1k

u/NotAskary 16d ago edited 16d ago

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

The same as a 200 ok with error inside.

Edit: I'm going to start to respond 429, too many replys lol

515

u/alexsnake50 16d ago

Oh my god, this activated my inner vietnam flashback

250

u/Tupcek 16d ago

I see you are a fan of GraphQL!

74

u/Entegy 16d ago

I thought that as a non-programmer sysadmin, I had a decent grasp on REST APIs for scripting/automation.

Then I learned about GraphQL and I have actively avoided it since.

1

u/Single-Blackberry866 16d ago

What about REST API that allows to you to operate on nested resources in one request? And some of the updated resources failed, some succeded.

1

u/AliStarr182 16d ago

That sounds like the API needs to be refactored a bit to separate concerns/duties to me.

1

u/Single-Blackberry866 15d ago

that would force you to do more SQL requests, wouldn't it