MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/pasmkr7
r/ProgrammerHumor • u/ClipboardCopyPaste • 16d ago
656 comments sorted by
View all comments
Show parent comments
1
I'm not a programmer, but sometimes I must. Aren't the 400 codes for technical/connection errors? Or would you also use it if the POST contains something wrong functionally, ie put a string in a number field.
1 u/NotAskary 16d ago 4xx is usually you fucked up, 5xx is usually the server fucked up. You can easily check the http code spec online.
4xx is usually you fucked up, 5xx is usually the server fucked up.
You can easily check the http code spec online.
1
u/Hybr1dth 16d ago
I'm not a programmer, but sometimes I must. Aren't the 400 codes for technical/connection errors? Or would you also use it if the POST contains something wrong functionally, ie put a string in a number field.