←back to thread

428 points ahamez | 1 comments | | HN request time: 0s | source
Show context
tiffanyh ◴[] No.45010044[source]
Here’s also some good recommendations: https://jcs.org/2023/07/12/api
replies(1): >>45010706 #
1. JimDabell ◴[] No.45010706[source]
That’s good too. Regarding:

> Be descriptive in your error responses

This is a useful standardised format:

RFC 7807: Problem Details for HTTP APIs

https://datatracker.ietf.org/doc/html/rfc7807