Definition
Uniform Resource Locator (URL)
A URL is an identifier for a document on the Web, structured as
where the optional elements are the port, query string, and fragment (after
#). The query string is a list ofkey=valuepairs separated by&. Reserved characters in a URL must be percent-encoded, e.g. space%20, newline%0a,&%26.
Example
Example
https://httpbin.org:443/get?user=marco&admin=1#test
- scheme:
https- host:
httpbin.org- port:
443- path:
/get- query:
user=marco&admin=1- fragment:
test