HTTP methods, status code classes, common request and response headers, caching, cookies, CORS, HTTP/2 and HTTP/3.
43 cards · basic cards · AI-written, checked twice. Edit anything.
- What does the GET HTTP method do?
Show answer
Retrieves data from a server without causing side effects
- What does the POST HTTP method do?
Show answer
Submits data to the server, typically to create a new resource
- What does the PUT HTTP method do?
Show answer
Replaces an entire resource on the server with the request payload
- What does the DELETE HTTP method do?
Show answer
Removes a resource from the server
- What does the PATCH HTTP method do?
Show answer
Applies a partial modification to a resource
- What does the HEAD HTTP method do?
Show answer
Requests the same response as GET but without the response body
- What does the OPTIONS HTTP method do?
Show answer
Describes the communication options available for a resource
- What does the CONNECT HTTP method do?
Show answer
Establishes a tunnel to a proxy server, often used for HTTPS
- What does the TRACE HTTP method do?
Show answer
Echoes the received request back to the client
- What do 1xx HTTP status codes indicate?
Show answer
Informational responses, the request is continuing
- What do 2xx HTTP status codes indicate?
Show answer
Successful responses, the request was successful
- What do 3xx HTTP status codes indicate?
Show answer
Redirection, further action is needed to complete the request
- What do 4xx HTTP status codes indicate?
Show answer
Client error, the client made a bad request
- What do 5xx HTTP status codes indicate?
Show answer
Server error, the server failed to fulfill a valid request
- What status code indicates the request succeeded?
Show answer
200 OK