July 2018
Intermediate to advanced
420 pages
8h 46m
English
Before we go further in implementing the validator, let's take a break and review some HTTP status code. As we saw previously, we have a 422 HTTP status code named Unprocessable entity.
The following table shows the most common and useful error codes:
| Code | Name | Description |
|---|---|---|
| 200 | OK | Everything's all right! |
| 201 | Created | Resource was created successfully. |
| 202 | Accepted | The request has been accepted for further processing, which will be completed later. |
| 204 | OK | Resource was deleted successfully. |
| 302 | Redirect | A common redirect response; you can GET the representation at the URI in the location response header. |
| 304 | Not Modified | There is no new data to return. |
| 400 | Bad Request | Client error. |
| 401 | Unauthorized | You are ... |
Read now
Unlock full access