Some common HTTP methods
Some common HTTP status codes
Method | Description | Safe | Idempotent |
---|---|---|---|
GET | Requests a specific representation of a resource | Yes | Yes |
PUT | Create or update a resource with the supplied representation | No | Yes |
DELETE | Deletes the specified resource | No | Yes |
POST | Submits data to be processed by the identified resource | No | No |
HEAD | Similar to GET but only retrieves headers and not the body | Yes | Yes |
OPTIONS | Returns the methods supported by the identified resource | Yes | Yes |
Some common HTTP status codes
Status Range | Description | Examples |
---|---|---|
100 | Informational | 100 Continue |
200 | Successful | 200 OK |
201 | Created | |
202 | Accepted | |
300 | Redirection | 301 Moved Permanently |
304 | Not Modified | |
400 | Client error | 401 Unauthorized |
402 | Payment Required | |
404 | Not Found | |
405 | Method Not Allowed | |
500 | Server error | 500 Internal Server Error |
501 | Not Implemented |