orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 6 days agoREST my ass 💩eviltoast.orgimagemessage-square106linkfedilinkarrow-up1833arrow-down15
arrow-up1828arrow-down1imageREST my ass 💩eviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 6 days agomessage-square106linkfedilink
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up2·5 days 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·5 days 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.