orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 30 days agoREST my ass 💩eviltoast.orgexternal-linkmessage-square79fedilinkarrow-up1720arrow-down14
arrow-up1716arrow-down1external-linkREST my ass 💩eviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 30 days agomessage-square79fedilink
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up27·29 days agoThen just return a 500 - Server error. Nice and obscure. The ability to separate “something wrong with what you sent” (4XX) and “something wrong on the server” (5XX) is very valuable in itself.
minus-squareMyNameIsIgglePiggle@sh.itjust.workslinkfedilinkarrow-up32·edit-229 days agoYep 2xx - it’s good 3xx - not here cunt 4xx - you don fucked up 5xx - we fucked up, whatever you do aint changing shit.
minus-squaremercano@lemmy.worldlinkfedilinkarrow-up10·edit-229 days ago1xx - We’re still working on it
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up0·28 days agoThe number of times I’ve gotten 5xx codes for bad requests is annoyingly high.
minus-squareMyNameIsIgglePiggle@sh.itjust.workslinkfedilinkarrow-up1·28 days agoFair. But they still fucked up so at least that’s on them I guess it’s like a retail worker apologising excessively because of trauma.
Then just return a 500 - Server error. Nice and obscure.
The ability to separate “something wrong with what you sent” (4XX) and “something wrong on the server” (5XX) is very valuable in itself.
Yep
1xx - We’re still working on it
And then there’s 418
The number of times I’ve gotten 5xx codes for bad requests is annoyingly high.
Fair. But they still fucked up so at least that’s on them
I guess it’s like a retail worker apologising excessively because of trauma.