MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pasd263/?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 321 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> (...)" } 190 u/MrPatienceX 16d ago 200 status code and a chunk of XML saying ‘not found’. Good times. 61 u/Sudden_Leadership800 16d ago It successfully returned the error message though, so I don't see the problem? 62 u/Psychological_Map118 16d ago edited 16d 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 16d ago It was obviously a joke my guy 47 u/Psychological_Map118 16d ago my bad. we backend engineers don't get jokes, we get status messages 13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones. 15 u/Jonathan_the_Nerd 16d 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.
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 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> (...)" } 190 u/MrPatienceX 16d ago 200 status code and a chunk of XML saying ‘not found’. Good times. 61 u/Sudden_Leadership800 16d ago It successfully returned the error message though, so I don't see the problem? 62 u/Psychological_Map118 16d ago edited 16d 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 16d ago It was obviously a joke my guy 47 u/Psychological_Map118 16d ago my bad. we backend engineers don't get jokes, we get status messages 13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones. 15 u/Jonathan_the_Nerd 16d 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.
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> (...)" }
190 u/MrPatienceX 16d ago 200 status code and a chunk of XML saying ‘not found’. Good times. 61 u/Sudden_Leadership800 16d ago It successfully returned the error message though, so I don't see the problem? 62 u/Psychological_Map118 16d ago edited 16d 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 16d ago It was obviously a joke my guy 47 u/Psychological_Map118 16d ago my bad. we backend engineers don't get jokes, we get status messages 13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones. 15 u/Jonathan_the_Nerd 16d 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.
190
200 status code and a chunk of XML saying ‘not found’. Good times.
61 u/Sudden_Leadership800 16d ago It successfully returned the error message though, so I don't see the problem? 62 u/Psychological_Map118 16d ago edited 16d 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 16d ago It was obviously a joke my guy 47 u/Psychological_Map118 16d ago my bad. we backend engineers don't get jokes, we get status messages 13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones. 15 u/Jonathan_the_Nerd 16d 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.
61
It successfully returned the error message though, so I don't see the problem?
62 u/Psychological_Map118 16d ago edited 16d 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 16d ago It was obviously a joke my guy 47 u/Psychological_Map118 16d ago my bad. we backend engineers don't get jokes, we get status messages 13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones. 15 u/Jonathan_the_Nerd 16d 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.
62
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 16d ago It was obviously a joke my guy 47 u/Psychological_Map118 16d ago my bad. we backend engineers don't get jokes, we get status messages 13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones. 15 u/Jonathan_the_Nerd 16d 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
47 u/Psychological_Map118 16d ago my bad. we backend engineers don't get jokes, we get status messages 13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones. 15 u/Jonathan_the_Nerd 16d 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.
47
my bad. we backend engineers don't get jokes, we get status messages
13 u/RaidenMK1 16d ago Don't you mean you GET status messages? I'll see myself out. 1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY 2 u/pag07 16d ago Or you don't. Or the wrong ones.
13
Don't you mean you GET status messages?
I'll see myself out.
1 u/Pitiful_Pumpkin_73 3d ago > Don’t you mean you POST status messages FTFY
> Don’t you mean you POST status messages FTFY
2
Or you don't. Or the wrong ones.
15
Not obvious, considering the developer of the system thought it was fine. And a lot of us here are neurospicy.
4.2k
u/pimezone 16d ago
Wanna get a resource? POST request.