Status Codes
Example
Use Codes 4xx or 5xx to Communicate Errors
GET /orders/1234 HTTP/1.1
...HTTP/1.1 200 OK
Content-Type: application/json
...
{
"code": "NOT_FOUND_ERR_CODE"
"message" "Order 1234 wasn't found"
}Recommended Reading
Last updated