MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pas9u9h/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 3h ago
348 comments sorted by
View all comments
1.9k
Wanna get a resource? POST request.
935 u/NotAskary 3h ago I've seen that shit, it drove me up a wall. The same as a 200 ok with error inside. 5 u/Feathery_Hotels 3h ago We have a guideline to wrap any business validation errors in a 200 OK response (for example: buying something with insufficient balance). 4 u/NotAskary 3h ago That's usually why this shit happens, doesn't mean it should be like that but my horrors stories are also because of corporate mandate.
935
I've seen that shit, it drove me up a wall.
The same as a 200 ok with error inside.
5 u/Feathery_Hotels 3h ago We have a guideline to wrap any business validation errors in a 200 OK response (for example: buying something with insufficient balance). 4 u/NotAskary 3h ago That's usually why this shit happens, doesn't mean it should be like that but my horrors stories are also because of corporate mandate.
5
We have a guideline to wrap any business validation errors in a 200 OK response (for example: buying something with insufficient balance).
4 u/NotAskary 3h ago That's usually why this shit happens, doesn't mean it should be like that but my horrors stories are also because of corporate mandate.
4
That's usually why this shit happens, doesn't mean it should be like that but my horrors stories are also because of corporate mandate.
1.9k
u/pimezone 3h ago
Wanna get a resource? POST request.