• boonhet@lemm.ee
    link
    fedilink
    arrow-up
    9
    ·
    3 days ago

    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.