Closed rstacruz closed 10 years ago
I've added those, let me know what you think. Thanks!
Looking swell! Thanks for all the work you've put into this document, you're doing the web development world a great service.
Thanks, I appreciate the support!
Can I second that? I'm busy gearing up for an http-api project and I'm finding this project extremely useful.
Richard
On 8 July 2014 15:12, Wesley Beary notifications@github.com wrote:
Thanks, I appreciate the support!
— Reply to this email directly or view it on GitHub https://github.com/interagent/http-api-design/issues/34#issuecomment-48341077 .
@rhoberman thanks, glad to hear it! Definitely welcome your feedback and look forward to seeing what you come up with.
I think there should be a list of common error statuses and when to use them. Right now there's only a prescribed 401 for unauthenticated users, and 406 for users without permissions.
It'd be nice to have something like:
429 Too many requests
- for rate limiting APIs422 Unprocessable entity
- for POST/PUT validation errors500 Internal server error
- for errors that are your backend's fault