text urlEncode(value, charset)
Encode the value into application/x-www-form-urlencoded text using the specific charset.
A dictionary value is percent-encoded as a query parameter list; key=value&key=value
,
other data types are converted to text where unsafe characters are percent-encoded.