http://www.domain.com:12345/page101?t=win&s=chess#para5 these would be:
- Scheme: http
- Authority: www.domain.com:12345
- User Information: not present
- Host: www.domain.com
- Port: 12345
- Path: /page101
- Query String: t=win&s=chess
- Fragment: para5
QueryString also called URL parameters or URL query parameters
It refers to the portion of the URL that comes after a question mark (?) and consist of a key and a value, separated by an equal sign (=), multiple parameters are each then separated by an ampersand (&)
? : query string begins
= : value separator
& : parameter separator
for example:
https//www.domain.com/page?key1=value1&key2=value2
Top comments (0)