- HTTP
- HTTP headers
- HTTP request methods
- HTTP response status codes
- Content-Security-Policy
- Cross-Origin Resource Sharing (CORS)
- List of HTTP header fields
- List of HTTP status codes
HTTP Method | Operation | Comment |
---|---|---|
GET | Read Operation only | Uses only for the read operation.GET should be idempotent |
POST | Create new resource | Should only be used to create a new resource |
PUT | Update / Replace Resource | Update an existing resource.Think of PUT method as putting a resource |
DELETE | Delete Resource | To remove a given resource.DELETE operation is idempotent |
PATCH | Partial Update / Modify | Partial update to a resource should happen through PATCH |
HEAD | ||
OPTIONS | ||
TRACE |
- status codes
- idempotent
- method cheatsheet
- 100 series are informational in nature
- 200 series indicate successful request
- 300 series are redirections
- 400 series are client errors
- 500 series are server side errors
- 200 OK
- 201 CREATED
- 204 ACCEPTED
- 301 MOVED PERMANENTLY
- 400 BAD REQUEST
- 401 NOT AUTHORIZED
- 404 NOT FOUND
- 500 INTERNAL SERVER ERROR
- 503 SERVICE UNAVAILABLE