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-squaredouglasg14b@lemmy.worldlinkfedilinkarrow-up3arrow-down3·17 hours agoCounter argument is that error codes and problem details can be used by attackers to reverse engineer and find exploitable parts of a system. Within reason anyways
minus-squarebrian@programming.devlinkfedilinkarrow-up1·3 hours agoyeah, ofc it should only be a curated set of errors where the consumer can do something about it. unknown errors should just be opaque 500s
minus-squareFeathercrown@lemmy.worldlinkfedilinkEnglisharrow-up9·17 hours agoSo can a 200 response with an error description
Counter argument is that error codes and problem details can be used by attackers to reverse engineer and find exploitable parts of a system.
Within reason anyways
yeah, ofc it should only be a curated set of errors where the consumer can do something about it. unknown errors should just be opaque 500s
So can a 200 response with an error description