mdn.go-v.org

URI query

The query of a URI is the section that comes after the path. It contains non-hierarchical data to identify a resource within the scope of the URI's scheme and naming authority along with data in the path component.

source: MDN Web Docslicence: CC BY-SA 2.5+ (MDN)database: /home/dbs/mdn.dbmode: tablerecords: 14753 (max_rowid)citation: https://developer.mozilla.org/

The **query** of a URI is the section that comes after the [path](/docs/Web/URI/Reference/Path).
It contains non-hierarchical data to identify a resource within the scope of the URI's [scheme](/docs/Web/URI/Reference/Schemes) and naming authority along with data in the path component.

## Syntax

```url
?query
```

- `query`
- : A sequence of any characters, except for the `#` character, which starts the [fragment](/docs/Web/URI/Reference/Fragment).
The exact format of the query is defined by the resource itself.

## Description

Consider the following URL:

```url
http://www.example.com:80/path/to/myfile.html?key1=value1&key2=value2#SomewhereInTheDocument
```

`?key1=value1&key2=value2` is the query component containing parameters for the web server to process.
The specific parameters in the example are a list of key/value pairs separated by the `&` symbol.
Web servers can use the parameters to modify responses, like applying filtering, search, or sorting results, although this is implementation-specific.

## Specifications

## See also

- [URIs](/docs/Web/URI)

source: MDN Web Docslicence: CC BY-SA 2.5+ (MDN)year: —id: Web/URI/Reference/Querycitation: https://developer.mozilla.org/en-US/docs/Web/URI/Reference/Querycharacters: 1,086

record · JSON · record JSON

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.