orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 2 days agoREST my ass 💩eviltoast.orgexternal-linkmessage-square100fedilinkarrow-up1801arrow-down15
arrow-up1796arrow-down1external-linkREST my ass 💩eviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 2 days agomessage-square100fedilink
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up35·1 day 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-squareI_am_10_squirrels@beehaw.orglinkfedilinkarrow-up2·6 hours agoRespond to everything as a teapot
minus-squareMyNameIsIgglePiggle@sh.itjust.workslinkfedilinkarrow-up44·edit-21 day 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-squareZiglin (it/they)@lemmy.worldlinkfedilinkEnglisharrow-up6·12 hours agoThe number of times I’ve gotten 5xx codes for bad requests is annoyingly high.
minus-squareHawk@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up10arrow-down1·1 day agoAnd then there’s 418
minus-squareTomasEkeli@programming.devlinkfedilinkarrow-up2·9 hours agogood old 418, always appears when you really want a cup of coffee
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.
Respond to everything as a teapot
Yep
The number of times I’ve gotten 5xx codes for bad requests is annoyingly high.
1xx - We’re still working on it
And then there’s 418
good old 418, always appears when you really want a cup of coffee