Comment on page
Responses
Make sure the following headers are set correctly in order to return a JSON response.
- Set
Content-Type
header toapplication/json
- Set
Accept
header toapplication/json
Successful API queries will return a
200
HTTP Response code.As much as possible, absentify attempts to use appropriate HTTP status codes to indicate the general class of problem, and this status code is repeated in the code section of the response.
Error responses will return JSON a message in the following format.
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Last modified 7mo ago