Http Flashcards
What is a client?
Are service requesters… ie sends out requests asks for stuff
What is a server?
A provider of a resource or a service that triggers a response
Which HTTP method does a browser issue to a web server when you visit a URL?
A set of request methods GET request and POST request
What three things are on the start-line of an HTTP request message?
1) Http method that describes the action.
2) the request target usually a url
3) http version that defines the sturcture
What three things are on the start-line of an HTTP response message?
1) The protocol version http/1.1
2) status code indicating success or failure (200,404, 302)
3) a status text
What are HTTP headers?
This allows clients and servers to pass around additional information.
Where would you go if you wanted to learn more about a specific HTTP Header?
IANA registry
Is a body required for a valid HTTP request or response message?
It is optional
REST
Representational State Transfer