Every request we issue to the server, the server parses it and build the response to return the result to the client. As Web API is REST service, every response is represented with a state, a HTTP status should be semantically used to inform the client with result.
There are five types of HTTP status codes:
- Informational (1xx)
- Success (2xx)
- Redirection (3xx)
- Client errors (4xx)
- Server errors (5xx)
Every Group has its own details. For e.g., if during request all thing goes well, after GET request the status code of the response is 200 OK , but after a POST request is 201 CREATED.