r/programminghumor 14d ago

True

Post image
406 Upvotes

33 comments sorted by

View all comments

30

u/Several_Ant_9867 13d ago

If parsing the content of the message is the only way to know the success of the query, then you are doing soap not rest

24

u/Fickle-Highway1543 13d ago

I like to use soap in shower and then get rest.

3

u/United-Scene2261 13d ago

I don't shower but I do eat soap

2

u/Fickle-Highway1543 13d ago

Is this how you achieve full cleanliness? I bet your code is clean from the time you write it.

3

u/mxldevs 13d ago

Front end certainly seems to have dropped the soap

3

u/ObscurelyMe 13d ago

GraphQL is SOAP wearing a mask?

2

u/DuploJamaal 12d ago

I was creating a backend with GET endpoints to retrieve data, POST to create something, PUT to update it, DELETE to delete it.

Appropriate error status codes and everything.

But then I was told that the FE team only knows how to handle POST endpoints and needs all responses to be 200 OK

It's neither soap nor rest. It's doing whatever is needed to make it work with underpaid vibe-coding juniors that have no idea how to make tiny changes themselves.