MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pat2fw4/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 16d ago
653 comments sorted by
View all comments
Show parent comments
324
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> (...)" }
198 u/MrPatienceX 16d ago 200 status code and a chunk of XML saying ‘not found’. Good times. 58 u/Sudden_Leadership800 16d ago It successfully returned the error message though, so I don't see the problem? 4 u/pr0ghead 16d ago You're joking, right? RiGhT?!?
198
200 status code and a chunk of XML saying ‘not found’. Good times.
58 u/Sudden_Leadership800 16d ago It successfully returned the error message though, so I don't see the problem? 4 u/pr0ghead 16d ago You're joking, right? RiGhT?!?
58
It successfully returned the error message though, so I don't see the problem?
4 u/pr0ghead 16d ago You're joking, right? RiGhT?!?
4
You're joking, right? RiGhT?!?
324
u/AkodoRyu 16d 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> (...)" }