URL

URL

  • Protocol: It defines the mode/rules of communication between the client and server for the request.
  • Hostname: It identifies the server which will serve the request. It may contain the domain name. In this case “flipkart.com”
  • Path: It defines the resource which is being requested. It typically points to a webpage (in this case list of books)
  • Query String: It typically contains any additional parameters that is typically used to add more context to the same path (in this case books that are about “web app”)