orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 2 months agoREST my ass 💩imagemessage-square107linkfedilinkarrow-up1758arrow-down15
arrow-up1753arrow-down1imageREST my ass 💩orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 2 months agomessage-square107linkfedilink
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up2·1 month 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·1 month 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.