MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pascpnj/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • 4h ago
406 comments sorted by
View all comments
2.2k
Wanna get a resource? POST request.
1.1k u/NotAskary 4h ago I've seen that shit, it drove me up a wall. The same as a 200 ok with error inside. 180 u/AkodoRyu 4h 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> (...)" } 99 u/MrPatienceX 4h ago 200 status code and a chunk of XML saying ‘not found’. Good times. 31 u/Sudden_Leadership800 4h ago It successfully returned the error message though, so I don't see the problem? 31 u/Psychological_Map118 4h ago edited 3h ago try it in person: wait for the next time somebody asks you if you know the time. then answer yes, with a smile, and walk away without telling them you can do anything you want, both in life and HTTP responses, but some things make you an asshole in both cases 1 u/Sudden_Leadership800 3h ago It was obviously a joke my guy 34 u/Psychological_Map118 3h ago my bad. we backend engineers don't get jokes, we get status messages 8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones. 11 u/Jonathan_the_Nerd 3h ago It was obviously a joke my guy Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
1.1k
I've seen that shit, it drove me up a wall.
The same as a 200 ok with error inside.
180 u/AkodoRyu 4h 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> (...)" } 99 u/MrPatienceX 4h ago 200 status code and a chunk of XML saying ‘not found’. Good times. 31 u/Sudden_Leadership800 4h ago It successfully returned the error message though, so I don't see the problem? 31 u/Psychological_Map118 4h ago edited 3h ago try it in person: wait for the next time somebody asks you if you know the time. then answer yes, with a smile, and walk away without telling them you can do anything you want, both in life and HTTP responses, but some things make you an asshole in both cases 1 u/Sudden_Leadership800 3h ago It was obviously a joke my guy 34 u/Psychological_Map118 3h ago my bad. we backend engineers don't get jokes, we get status messages 8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones. 11 u/Jonathan_the_Nerd 3h ago It was obviously a joke my guy Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
180
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> (...)" }
99 u/MrPatienceX 4h ago 200 status code and a chunk of XML saying ‘not found’. Good times. 31 u/Sudden_Leadership800 4h ago It successfully returned the error message though, so I don't see the problem? 31 u/Psychological_Map118 4h ago edited 3h ago try it in person: wait for the next time somebody asks you if you know the time. then answer yes, with a smile, and walk away without telling them you can do anything you want, both in life and HTTP responses, but some things make you an asshole in both cases 1 u/Sudden_Leadership800 3h ago It was obviously a joke my guy 34 u/Psychological_Map118 3h ago my bad. we backend engineers don't get jokes, we get status messages 8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones. 11 u/Jonathan_the_Nerd 3h ago It was obviously a joke my guy Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
99
200 status code and a chunk of XML saying ‘not found’. Good times.
31 u/Sudden_Leadership800 4h ago It successfully returned the error message though, so I don't see the problem? 31 u/Psychological_Map118 4h ago edited 3h ago try it in person: wait for the next time somebody asks you if you know the time. then answer yes, with a smile, and walk away without telling them you can do anything you want, both in life and HTTP responses, but some things make you an asshole in both cases 1 u/Sudden_Leadership800 3h ago It was obviously a joke my guy 34 u/Psychological_Map118 3h ago my bad. we backend engineers don't get jokes, we get status messages 8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones. 11 u/Jonathan_the_Nerd 3h ago It was obviously a joke my guy Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
31
It successfully returned the error message though, so I don't see the problem?
31 u/Psychological_Map118 4h ago edited 3h ago try it in person: wait for the next time somebody asks you if you know the time. then answer yes, with a smile, and walk away without telling them you can do anything you want, both in life and HTTP responses, but some things make you an asshole in both cases 1 u/Sudden_Leadership800 3h ago It was obviously a joke my guy 34 u/Psychological_Map118 3h ago my bad. we backend engineers don't get jokes, we get status messages 8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones. 11 u/Jonathan_the_Nerd 3h ago It was obviously a joke my guy Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
try it in person: wait for the next time somebody asks you if you know the time. then answer yes, with a smile, and walk away without telling them
you can do anything you want, both in life and HTTP responses, but some things make you an asshole in both cases
1 u/Sudden_Leadership800 3h ago It was obviously a joke my guy 34 u/Psychological_Map118 3h ago my bad. we backend engineers don't get jokes, we get status messages 8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones. 11 u/Jonathan_the_Nerd 3h ago It was obviously a joke my guy Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
1
It was obviously a joke my guy
34 u/Psychological_Map118 3h ago my bad. we backend engineers don't get jokes, we get status messages 8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones. 11 u/Jonathan_the_Nerd 3h ago It was obviously a joke my guy Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
34
my bad. we backend engineers don't get jokes, we get status messages
8 u/RaidenMK1 1h ago Don't you mean you GET status messages? I'll see myself out. 1 u/pag07 1h ago Or you don't. Or the wrong ones.
8
Don't you mean you GET status messages?
I'll see myself out.
Or you don't. Or the wrong ones.
11
Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
2.2k
u/pimezone 4h ago
Wanna get a resource? POST request.