https://www.example.com:9876/about/us.html?highlight=team#management
-
The scheme
httpsis registered with IANA and refers to the protocol "HTTP over TLS", using TCP port number 443 by default, to determine the protocol used between client and server. -
The authority
www.example.com:9876contains a host and a port:-
The host name
www.example.comis registered with DNS (which must be accessible separately) and refers to the IP address93.184.216.119to find the endpoint among all reachable hosts on the Internet.Also, it is included in the HTTP request as the "Host" field to distinguish among multiple virtual hosts that may be provided by the server software sharing the same IP address.
-
The port number
9876overrides the default TCP port determined by the protocol. This requires that the endpoint at93.184.216.119has a process listening on that port.
-
-
The string
/about/us.html?highlight=teamis included in the HTTP request to the server.-
The path
/about/us.htmlis usually used to distinguish among multiple pieces of information provdided by the server on the same (virtual) host. -
And the query
?highlight=teamprovides additional information as key-value pairs to the server that it may need to perform the desired action.
-
-
The fragment
#managementis not transferred to the server. It is used by the client as a secondary identifier relative to the resource obtained from the server using the other parts of the URI.