Hacker News new | past | comments | ask | show | jobs | submit login

On practical thing I took away from this:

If you omit the "type", the message has no additional semantics beyond that of the HTTP status code. So this provides a standard for error responses with JSON bodies:

    {
        "title": "Not Found",
        "status": 404,
        "detail": "The file you are looking for doesn't exist."
    }



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: