HTTP Flashcards
What is a client?
Makes a request to a server
What is a server?
Sends a response to a request
Which HTTP method does a browser issue to a web server when you visit a URL?
GET
What is on the first line of an HTTP request message?
HTTP method, target, version
What is on the first line of an HTTP response message?
HTTP version, status code, status text
What are HTTP headers?
Headers are at the top of the request or response and contain info about the request/response
Is a body required for a valid HTTP message?
No, like for create requests
What is the significance of an HTTP request’s method?
Tells the server whether to get, create, update, or delete an item. Tells the server what the client wants.