HTTP status codes
RESTful notes tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP status codes.
| Status code | Usage |
|---|---|
| 200 OK | The request completed successfully. |
| 202 Accepted | The request has been accepted for processing, but the processing has not been completed. |
| 201 Created | The request has been fulfilled and has resulted in one or more new resources being created. |
| 206 Partial Content | The the server is successfully fulfilling a range request for the target resource by transferring one or more parts of the selected representation that correspond to the satisfiable ranges found in the request’s Range header field. |
| 304 Not Modified | The requested resource was not modified. |
| 400 Bad Request | The request was failed. The response body will include an error providing further information. |
| 401 Unauthorized | The request has not been applied because it lacks valid authentication credentials for the target resource. |
| 403 Forbidden | The requested resource cannot be returned because of authorization problems. |
| 404 Not Found | The requested resource did not exist. |
| 500 Internal Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request. |