Difference between revisions of "Query string"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (→Examples) |
Karl Jones (Talk | contribs) |
||
Line 22: | Line 22: | ||
== Examples == | == Examples == | ||
− | === Google search == | + | === Google search === |
The hyperlink below requests Google to search for the words "query string": | The hyperlink below requests Google to search for the words "query string": |
Revision as of 12:32, 10 September 2015
In the World Wide Web, a query string (or querystring)is the part of a uniform resource locator (URL) containing data that does not fit conveniently into a hierarchical path structure.
Contents
Description
The query string commonly includes fields added to a base URI by a Web browser or other client application, for example as part of an HTML form.
Web servers handle query strings
A web server can handle (process, respond to) a Hypertext Transfer Protocol request using one of two methods: [Static web page|static] or dynamic.
Static web page
- Reading a file from the server's file system based on the URL path
- See Static web page.
Dynamic web page
- Handling the request using logic that is specific to the type of resource
- The query string is available that logic for use in its processing
- See Dynamic web page.
Examples
Google search
The hyperlink below requests Google to search for the words "query string":
https://www.google.com/#q=query+string
Question mark in
On many websites, the query string is preceded by a question mark (?) in the URL.
TO DO: example.
See also
External links
- Query string @ Wikipedia