This article will cover common Success, Client Error and Server Error status codes used for RESTful services. The below tables provide the different types of HTTP status codes with a description.
These status codes indicate that the client’s request was successfully received, understood and accepted.
4xx Client Error
These status codes indicate that the client provided an error in the request.
|405||Method Not Allowed|
5xx Server Error
These status codes indicate that the server is aware it has made an error or is incapable of performing the request.
|500||Internal Server Error|
Using HTTP status codes correctly in a RESTful service is useful and provides consistency across all API implementations.
Further information on HTTP status codes can be found at the following link: