HTTP Requests

HTTP Requests

  • An HTTP request is made by a client, to a named host, which is located on a server

  • The aim of the request is to access a resource on the server.

  • To make the request, the Client uses components of a URL (Uniform Resource Locator), which includes the information needed to access the resource

  • A correctly composed HTTP request contains the following elements:

    • A request line

    • A series of HTTP headers, or header fields

    • A message body, if needed