creates a URL-style query string from an association of keys and values.


creates a query string from a list of rules.

Details and Options


open allclose all

Basic Examples  (4)

Encode a list of parameters:

Use Missing or None to represent a missing parameter value:

Nested lists are flattened:

URL and CloudObject can be encoded as values:

Options  (3)

CharacterEncoding  (1)

Percent encode with a specified encoding:

SortQueries  (1)

Sort query parameters by using "SortQueries":

RemoveEmptyQueries  (1)

Remove empty parameters by using "RemoveEmptyQueries":

Possible Issues  (1)

Repeated keys are not supported by Association:

To specify multiple values, collect them in a list:

Alternatively, use a list of rules:

Introduced in 2014
Updated in 2016