orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 3 days agoREST my ass 💩eviltoast.orgimagemessage-square106fedilinkarrow-up1819arrow-down15
arrow-up1814arrow-down1imageREST my ass 💩eviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 3 days agomessage-square106fedilink
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up2·22 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·21 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.