Skip to main content

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 codeUsage
200 OKThe request completed successfully.
202 AcceptedThe request has been accepted for processing, but the processing has not been completed.
201 CreatedThe request has been fulfilled and has resulted in one or more new resources being created.
206 Partial ContentThe 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 ModifiedThe requested resource was not modified.
400 Bad RequestThe request was failed. The response body will include an error providing further information.
401 UnauthorizedThe request has not been applied because it lacks valid authentication credentials for the target resource.
403 ForbiddenThe requested resource cannot be returned because of authorization problems.
404 Not FoundThe requested resource did not exist.
500 Internal Server ErrorThe server encountered an unexpected condition that prevented it from fulfilling the request.