Uri functions

Construct the data query by combining the necessary information into a URL query string, ensuring that characters are properly formatted for transmission.

Syntax

Uri.BuildQueryString(query as record) as text

About

Construct the data query by combining the necessary information into a URL query string, ensuring that characters are properly formatted for transmission.

Explanation

Create a query string that includes special characters using encoding. The Power Query MUri.BuildQueryString() function is used with parameters [a = "1", b = "+$"]. The resulting encoded query string is "a=1&b=%2B%24".