cm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agoYes, But...lemmy.mlimagemessage-square85fedilinkarrow-up1759arrow-down19
arrow-up1750arrow-down1imageYes, But...lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 6 days agomessage-square85fedilink
minus-squareboonhet@lemm.eelinkfedilinkarrow-up9·6 days agoStandardize a response body across your APIs that specifies the cause of the non-2xx response. Have an enum per API/service for causes. Include them in the API doc. If anyone still doesn’t get it, quietly dispose of them at your friend’s pig farm.
Standardize a response body across your APIs that specifies the cause of the non-2xx response. Have an enum per API/service for causes. Include them in the API doc.
If anyone still doesn’t get it, quietly dispose of them at your friend’s pig farm.