I hate API like this
- This is Microsoft.
- He returns Webhook success with a code 200 and plaintext 1.
- He returns Webhook failure with a code 200 and a JSON.
- The JSON tells its endpoint returned error 400.
- the detailed error under details is only 20 character with a “…”.
- Don’t be like Microsoft.
Add comment