The following table shows the common HTTP methods and their purposes:
The following table shows the HTTP status codes and their purposes:
Status code |
Description |
---|---|
100 |
Informational |
200 |
Successful |
201 |
Created |
202 |
Accepted |
300 |
Redirection |
304 |
Not modified |
400 |
Client error |
402 |
Payment required |
404 |
Not found |
405 |
Method not allowed |
500 |
Server error |
501 |
Not implemented |
The following table shows the HTTP redirection status codes:
Status code |
Description |
---|---|
300 |
Multiple choices |
301 |
Moved permanently |
302 |
Found (temporary redirection) |
The following table shows the HTTP error status codes:
Status code |
Description |
---|---|
400 |
Bad request |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Resource not found |
405 |
Method not allowed |
408 |
Request timeout |
409 |
Conflict |
413 |
Request entity too large |
415 |
Unsupported media type |
The following table shows the HTTP server error status codes:
Status code |
Description |
---|---|
500 |
Internal server error |
501 |
Not implemented |
503 |
Service unavailable |
505 |
HTTP version not supported |
The following table lists some resource methods and how they can be implemented using the HTTP protocol:
Method name |
Description |
HTTP operation |
---|---|---|
|
This creates a new resource |
|
|
This is used to retrieve the representation of a particular resource |
|
|
This deletes a resource |
|
|
This modifies a resource |
|
|
|