Query String
A query string is a part added to an URL resource to pass form data, options, settings or other parameters to the executing web service.
Syntax
In a typical implementation, parameters are indicated by this syntax:
Separator | Parameter | Assignator | Value |
---|---|---|---|
? | name | = | value |
Multiple parameters are separated with &
.
Examples:
For the URL http://example.com/path/to/page
, parameters could look like this:
http://example.com/path/to/page?name=value
http://example.com/path/to/page?first=this&then=that