Vocabulary
urls.encoding

Inputs
assocan assoc


Outputs
stra string


Word description
Converts an assoc of query parameters into a query string, performing URL encoding.

Notes
This word is used by the implementation of URL objects. It is also used by the HTTP client to encode POST requests.

Examples
USING: io urls.encoding ; { { "from" "Lead" } { "to" "Gold, please" } } assoc>query print
from=Lead&to=Gold%2C%20please


Definition