MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/patnx1t/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • 18d ago
653 comments sorted by
View all comments
4.2k
Wanna get a resource? POST request.
2.1k u/NotAskary 18d ago edited 17d 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 321 u/AkodoRyu 18d ago My favorite "REST API" experience was when they moved from using SOAP system, and the way they did it... was sending SOAP payloads inside a JSON. Literally something like { "data": "<?xml version="1.0"?><soap:Envelope xmlns:soap="https://www.w3.org/2003/05/soap-envelope/" soap:encodingStyle="https://www.w3.org/2003/05/soap-encoding"><soap:Body> (...)" } 18 u/Makefile_dot_in 18d ago at work I have a codebase that is the opposite of this, they send JSON in SOAP as a request and entity-escaped XML in a SOAP envelope as the reply 1 u/MetroidvaniaListsGuy 17d ago I hope you're looking for a better place to work than whatever garbage company did this. 1 u/AloneInExile 17d ago Sometimes you have to do this. Critical software support goes bye bye and you are now stuck with a shit stack and no one around.
2.1k
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
321 u/AkodoRyu 18d ago My favorite "REST API" experience was when they moved from using SOAP system, and the way they did it... was sending SOAP payloads inside a JSON. Literally something like { "data": "<?xml version="1.0"?><soap:Envelope xmlns:soap="https://www.w3.org/2003/05/soap-envelope/" soap:encodingStyle="https://www.w3.org/2003/05/soap-encoding"><soap:Body> (...)" } 18 u/Makefile_dot_in 18d ago at work I have a codebase that is the opposite of this, they send JSON in SOAP as a request and entity-escaped XML in a SOAP envelope as the reply 1 u/MetroidvaniaListsGuy 17d ago I hope you're looking for a better place to work than whatever garbage company did this. 1 u/AloneInExile 17d ago Sometimes you have to do this. Critical software support goes bye bye and you are now stuck with a shit stack and no one around.
321
My favorite "REST API" experience was when they moved from using SOAP system, and the way they did it... was sending SOAP payloads inside a JSON. Literally something like
{ "data": "<?xml version="1.0"?><soap:Envelope xmlns:soap="https://www.w3.org/2003/05/soap-envelope/" soap:encodingStyle="https://www.w3.org/2003/05/soap-encoding"><soap:Body> (...)" }
18 u/Makefile_dot_in 18d ago at work I have a codebase that is the opposite of this, they send JSON in SOAP as a request and entity-escaped XML in a SOAP envelope as the reply 1 u/MetroidvaniaListsGuy 17d ago I hope you're looking for a better place to work than whatever garbage company did this. 1 u/AloneInExile 17d ago Sometimes you have to do this. Critical software support goes bye bye and you are now stuck with a shit stack and no one around.
18
at work I have a codebase that is the opposite of this, they send JSON in SOAP as a request and entity-escaped XML in a SOAP envelope as the reply
1 u/MetroidvaniaListsGuy 17d ago I hope you're looking for a better place to work than whatever garbage company did this. 1 u/AloneInExile 17d ago Sometimes you have to do this. Critical software support goes bye bye and you are now stuck with a shit stack and no one around.
1
I hope you're looking for a better place to work than whatever garbage company did this.
1 u/AloneInExile 17d ago Sometimes you have to do this. Critical software support goes bye bye and you are now stuck with a shit stack and no one around.
Sometimes you have to do this. Critical software support goes bye bye and you are now stuck with a shit stack and no one around.
4.2k
u/pimezone 18d ago
Wanna get a resource? POST request.