HTTP, Requests and Responses
Browsers send requests (method, URL, headers, body); servers return responses (status code, headers, body).
Beginner
Methods: GET (read), POST (create), PUT/PATCH (update), DELETE. Status codes: 200 OK, 201 Created, 400 Bad Request, 401/403 auth errors, 404 Not Found, 500 Server Error.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.