orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 6 days agoREST my ass 💩eviltoast.orgimagemessage-square93fedilinkarrow-up1826arrow-down15
arrow-up1821arrow-down1imageREST my ass 💩eviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 6 days agomessage-square93fedilink
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up35·5 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-up44·edit-25 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-up15·edit-25 days ago1xx - We’re still working on it
minus-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up6·4 days agoThe number of times I’ve gotten 5xx codes for bad requests is annoyingly high.
minus-squareMyNameIsIgglePiggle@sh.itjust.workslinkfedilinkarrow-up2·4 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.
minus-squareHawk@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up10arrow-down1·5 days agoAnd then there’s 418
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up2·4 days agogood old 418, always appears when you really want a cup of coffee
minus-squareI_am_10_squirrels@beehaw.orglinkfedilinkarrow-up2·4 days agoRespond to everything as a teapot
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
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.
And then there’s 418
good old 418, always appears when you really want a cup of coffee
Respond to everything as a teapot