orhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 25 days agoREST my ass 💩eviltoast.orgimagemessage-square104fedilinkarrow-up1602arrow-down14
arrow-up1598arrow-down1imageREST my ass 💩eviltoast.orgorhtej2@eviltoast.org to Programmer Humor@programming.devEnglish · 25 days agomessage-square104fedilink
minus-squarehomura1650@lemmy.worldlinkfedilinkarrow-up1·23 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·23 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.