cm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agoYes, But...lemmy.mlimagemessage-square77linkfedilinkarrow-up1766arrow-down18cross-posted to: [email protected]
arrow-up1758arrow-down1imageYes, But...lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square77linkfedilinkcross-posted to: [email protected]
minus-squareboonhet@lemm.eelinkfedilinkarrow-up9·2 months 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.