cm0002@lemmy.world to Programmer Humor@programming.dev · 13 days agoYes, But...lemmy.mlexternal-linkmessage-square66fedilinkarrow-up1682arrow-down19cross-posted to: programmerhumor@lemmy.ml
arrow-up1673arrow-down1external-linkYes, But...lemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 13 days agomessage-square66fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareboonhet@lemm.eelinkfedilinkarrow-up9·13 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.