URLQueryEncode
URLQueryEncode[key1val1,key2val2,…]
creates a URL-style query string from an association of keys and values.
URLQueryEncode[{param1val1,param2val1,…}]
creates a query string from a list of rules.
Details and Options
- The vali can be strings, numbers, or the following special forms:
-
None,Null,Missing "" True "true" False "false" URL["url"],CloudObject["url"] the encode form of "url" {e1,e2,…} e1, e2, … - URLQueryEncode has the option CharacterEncoding, which specifies what type of character encoding to use for the output. The default is "UTF-8".
Examples
open allclose allBasic Examples (4)
Use Missing or None to represent a missing parameter value:
URL and CloudObject can be encoded as values:
Options (3)
Possible Issues (1)
Repeated keys are not supported by Association:
Text
Wolfram Research (2014), URLQueryEncode, Wolfram Language function, https://reference.wolfram.com/language/ref/URLQueryEncode.html (updated 2016).
CMS
Wolfram Language. 2014. "URLQueryEncode." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/URLQueryEncode.html.
APA
Wolfram Language. (2014). URLQueryEncode. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/URLQueryEncode.html