API Reference

A simple route that verifies error handling works by returning an an error response

Endpoint

https://papi.sandbox.dolly.com/v1/fail

HTTP Method

GET

Example Response

{
    "error": {
        "errorCode": "INTERNAL_SERVER_ERROR",
        "errorMessage": "Kaboom!"
    },
    "status": "error"
}
Language
Click Try It! to start a request and see the response here!