Ask HN: Standards for API Error Responses?
4 by BerislavLopac | 1 comments on Hacker News.
Are there any common guides/standards for returning error messages from network-based APIs (REST, RESTful, RPC...), perhaps some kind of generic schemas? I am aware of RFC-7807 [0], but it seems overly complicated and essentially requires keeping a database of common error types (which admittedly _is_ useful, but usually an overkill). Thanks! [0] https://ift.tt/304Dpvg
New ask Hacker News story: Ask HN: Standards for API Error Responses?
Abubakar Mahmoud Sadiq
0
Comments
Tags
Hacker News
Post a Comment