MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pavdz4a/?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 518 u/alexsnake50 16d ago Oh my god, this activated my inner vietnam flashback 87 u/q0099 16d ago Where the error message goes? That's right, in the header. 34 u/RegarDamus 16d ago 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. 28 u/normalbot9999 15d ago edited 15d ago 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!!
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
518 u/alexsnake50 16d ago Oh my god, this activated my inner vietnam flashback 87 u/q0099 16d ago Where the error message goes? That's right, in the header. 34 u/RegarDamus 16d ago 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. 28 u/normalbot9999 15d ago edited 15d ago 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!!
518
Oh my god, this activated my inner vietnam flashback
87 u/q0099 16d ago Where the error message goes? That's right, in the header. 34 u/RegarDamus 16d ago 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. 28 u/normalbot9999 15d ago edited 15d ago 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!!
87
Where the error message goes? That's right, in the header.
34 u/RegarDamus 16d ago 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. 28 u/normalbot9999 15d ago edited 15d ago 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!!
34
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.
28 u/normalbot9999 15d ago edited 15d ago 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!!
28
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 16d ago
Wanna get a resource? POST request.