Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Consider using the IETF API-Problem specification for error messages #37

Open
cpliakas opened this issue Apr 24, 2014 · 1 comment
Open

Comments

@cpliakas
Copy link

Referring to the https://github.com/WhiteHouse/api-standards#error-handling section, it is great that the WH API standards promote helpful error messages for developers who consume the APIs. Have you considered adopting the IETF API-Problem specification? It appears to be similar in goals to what WH is trying to do, but it might be good to adopt a standard response format. There is a relevant blog post at http://www.mnot.net/blog/2013/05/15/http_problem, and there is some PHP tooling around the spec at https://github.com/Crell/ApiProblem.

Thanks!
Chris

@bryanhirsch
Copy link
Contributor

Thanks for this great suggestion @cpliakas. We'll take a look.

@bryanhirsch bryanhirsch self-assigned this Apr 28, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants