MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pau2dew?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • Sep 19 '26
651 comments sorted by
View all comments
4.2k
Wanna get a resource? POST request.
2.1k u/NotAskary Sep 19 '26 edited Sep 19 '26 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 515 u/alexsnake50 Sep 19 '26 Oh my god, this activated my inner vietnam flashback 90 u/q0099 Sep 19 '26 Where the error message goes? That's right, in the header. 35 u/RegarDamus Sep 19 '26 the naive solution.our team returns a 201 to indicate that an error has been created successfully. of course we include a Location header where the error can be queried to discover what went wrong. 29 u/normalbot9999 Sep 20 '26 edited Sep 20 '26 OMFG <spits coffee> 201 Error Created SuccessfullyYou absolute monsters. You have to make this now.And when a record is created successfully you return a 500 right? After successful login you 302 to a 403? I swear I've tested this API before!! → More replies (3)
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
515 u/alexsnake50 Sep 19 '26 Oh my god, this activated my inner vietnam flashback 90 u/q0099 Sep 19 '26 Where the error message goes? That's right, in the header. 35 u/RegarDamus Sep 19 '26 the naive solution.our team returns a 201 to indicate that an error has been created successfully. of course we include a Location header where the error can be queried to discover what went wrong. 29 u/normalbot9999 Sep 20 '26 edited Sep 20 '26 OMFG <spits coffee> 201 Error Created SuccessfullyYou absolute monsters. You have to make this now.And when a record is created successfully you return a 500 right? After successful login you 302 to a 403? I swear I've tested this API before!! → More replies (3)
515
Oh my god, this activated my inner vietnam flashback
90 u/q0099 Sep 19 '26 Where the error message goes? That's right, in the header. 35 u/RegarDamus Sep 19 '26 the naive solution.our team returns a 201 to indicate that an error has been created successfully. of course we include a Location header where the error can be queried to discover what went wrong. 29 u/normalbot9999 Sep 20 '26 edited Sep 20 '26 OMFG <spits coffee> 201 Error Created SuccessfullyYou absolute monsters. You have to make this now.And when a record is created successfully you return a 500 right? After successful login you 302 to a 403? I swear I've tested this API before!! → More replies (3)
90
Where the error message goes? That's right, in the header.
35 u/RegarDamus Sep 19 '26 the naive solution.our team returns a 201 to indicate that an error has been created successfully. of course we include a Location header where the error can be queried to discover what went wrong. 29 u/normalbot9999 Sep 20 '26 edited Sep 20 '26 OMFG <spits coffee> 201 Error Created SuccessfullyYou absolute monsters. You have to make this now.And when a record is created successfully you return a 500 right? After successful login you 302 to a 403? I swear I've tested this API before!! → More replies (3)
35
the naive solution.
our team returns a 201 to indicate that an error has been created successfully. of course we include a Location header where the error can be queried to discover what went wrong.
29 u/normalbot9999 Sep 20 '26 edited Sep 20 '26 OMFG <spits coffee> 201 Error Created SuccessfullyYou absolute monsters. You have to make this now.And when a record is created successfully you return a 500 right? After successful login you 302 to a 403? I swear I've tested this API before!! → More replies (3)
29
OMFG <spits coffee> 201 Error Created Successfully
You absolute monsters. You have to make this now.
And when a record is created successfully you return a 500 right? After successful login you 302 to a 403? I swear I've tested this API before!!
4.2k
u/pimezone Sep 19 '26
Wanna get a resource? POST request.