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-squarehomura1650@lemmy.worldlinkfedilinkarrow-up2·3 hours agoIf it’s not a backend error, you shouldn’t be throwing a 5xx error code. Since you are throwing a 500, you have a server bug; even if that bug is simply “sends incorrect error code”
minus-squarejj4211@lemmy.worldlinkfedilinkarrow-up1·3 hours agoOk, got you, thought you were saying a bad url from client was inherently a backend mistake.
If it’s not a backend error, you shouldn’t be throwing a 5xx error code. Since you are throwing a 500, you have a server bug; even if that bug is simply “sends incorrect error code”
Ok, got you, thought you were saying a bad url from client was inherently a backend mistake.