Each response to a request contains an HTTP status code. The HTTP status code reports on the outcome of the HTTP request to a service. The following table provides the most common status codes that are returned by the services.
Status Code | Short Description | Description |
---|---|---|
200 | OK | The request is successful. Typically returned by a GET or a POST returning information. |
400 | Bad Request | The request contained an error. This status is returned by various methods when the data provided by the client - either as part of the URI, query parameters or the body - does not meet the server requirements. |
404 | Not Found | The requested resource was not found. |
405 | Method Not Allowed | The method requested is not allowed for the resource in the URI. |
406 | Not Acceptable | The requested media type specified in the Accept header is not
supported. The supported media types include
application/JSON and
application/xml . |
500 | Internal Server Error | An internal error was encountered that prevents the server from processing the request and providing a valid response. |