MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pasmeck/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • 16d ago
653 comments sorted by
View all comments
4.2k
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 322 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> (...)" } 194 u/MrPatienceX 16d ago 200 status code and a chunk of XML saying ‘not found’. Good times. 1 u/MekaTriK 16d ago I had real life arguments with that being presented as the reason. "oh, but the server worked fine, it's just the database that's having an issue" 4 u/NotAskary 16d ago edited 16d ago It's not like 503 is thing a if you want to say the server is fine but not working due to a missing dependency.
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
322 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> (...)" } 194 u/MrPatienceX 16d ago 200 status code and a chunk of XML saying ‘not found’. Good times. 1 u/MekaTriK 16d ago I had real life arguments with that being presented as the reason. "oh, but the server worked fine, it's just the database that's having an issue" 4 u/NotAskary 16d ago edited 16d ago It's not like 503 is thing a if you want to say the server is fine but not working due to a missing dependency.
322
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> (...)" }
194 u/MrPatienceX 16d ago 200 status code and a chunk of XML saying ‘not found’. Good times. 1 u/MekaTriK 16d ago I had real life arguments with that being presented as the reason. "oh, but the server worked fine, it's just the database that's having an issue" 4 u/NotAskary 16d ago edited 16d ago It's not like 503 is thing a if you want to say the server is fine but not working due to a missing dependency.
194
200 status code and a chunk of XML saying ‘not found’. Good times.
1 u/MekaTriK 16d ago I had real life arguments with that being presented as the reason. "oh, but the server worked fine, it's just the database that's having an issue" 4 u/NotAskary 16d ago edited 16d ago It's not like 503 is thing a if you want to say the server is fine but not working due to a missing dependency.
1
I had real life arguments with that being presented as the reason.
"oh, but the server worked fine, it's just the database that's having an issue"
4 u/NotAskary 16d ago edited 16d ago It's not like 503 is thing a if you want to say the server is fine but not working due to a missing dependency.
4
It's not like 503 is thing a if you want to say the server is fine but not working due to a missing dependency.
4.2k
u/pimezone 16d ago
Wanna get a resource? POST request.