Non-Gateway HTTP Response Format
Each HTTP request will have the following general format.
Response Codes
- 200 OK
- 400 Bad Request
- 401 Unauthorized
- 404 Not Found
- 500 Server Error
Response Body
The body of the response will always be JSON
{
"message":
"result":
}
Examples
200 OK
{
"message": "OK",
"result": {
"login": "mshapiro",
"person_id": 21234,
"first_name": "Michael",
"last_name": "Shapiro"
}
}
404 Not Found
{
"message": "shapiro2 - not found",
"result": null
}