HTTP Response Codes

The following table lists the common HTTP response codes.

Code Description

200 OK

The request was executed and the response has content.

201 Created

The resource was created. The response contains the created resource.

202 Accepted

The request has been accepted for processing, but the processing hasn't been completed.

204 No Content

The request executed, but the response doesn't have content.

400 Bad Request

The request to the server failed because of malformed syntax.

401 Not Authorized

The request isn't authorized. The authentication credentials included with this request are missing or invalid.

403 Forbidden

The user can't be authenticated. The user doesn't have authorization to perform this request.

404 Not Found

The requested resource wasn't found.

405 Method Not Allowed

This resource does not support the specified HTTP method (GET, POST).

415 Unsupported Media Type

The server failed to service the request because the entity of the request is in a format that's not supported by the requested resource for the requested method. Check the content type of the request body and the Content-Type request header field.

500 Internal Server Error

The server encountered an unexpected condition that prevented it from fulfilling the request.