HTTP Response Codes

Standard HTTP response codes are used for successful and failed responses.

  • 200 - Ok

  • 400 - Bad Request

  • 404 - Not Found

  • 405 - Method Not Allowed

  • 415 - Unsupported Media Type

  • 429 - Too many requests

  • 500 - Internal Server Error

Response Body

In addition to the HTTP code response, an array of json objects will be returned in the response body. Each json response contains at least the following fields:

  • code

  • status

  • response

{
  "code": 404,
  "status": "error",
  "response": "{error reason}"
}