request-format

Request-Line
The first line GET /xml HTTP/1.1 is called the request line.

GET | POST
GET is used when you want to view a resource on the server without making any changes.
POST is used for actually making a change or update to the listed resource.
GET and POST: are called request methods. There are other request methods such as PUT and DELETE.

/xml
A resource identifier that’s called Uniform Resource Identifier (URI)

URI:     /library
URL:    https://teamtreehouse.com/library
A Uniform Resource Locator (URL), implicitly or explicitly lists HTTP as the protocol, contains the host name, and finally the identifier.

Anchors
A Hyperlink aka Anchor aka Link that contains a URL, only makes GET requests, and not POST requests.

Accept-Language:
Is a Header Name that tells the server which language we prefer for the response.

Payload
Is usually the actual data being transferred with the request.

Save