Uri.BuildQueryString

Uri.BuildQueryString

Assemble a record into a URI query string.

function (query as record) as text

Description

Assemble the record query into a URI query string, escaping characters as necessary.

Category

Uri

Examples

Encode a query string which contains some special characters.

Uri.BuildQueryString([a="1", b="+$"])

"a=1&b=%2B%24"