URI Object to Query

Table of Contents

Encodes an enumerable into a query string. 

Properties #

Object: Location of the enumerable to encode into a query string

Output #

Output-location: Location to store the output data

Takes an enumerable that enumerates as a list of two-element objects (for instance, a map or a keyword list) and returns a string in the form of key1=value1&key2=value2… where keys and values are URL encoded as per encode_www_form/1.

Example #

URI query of “{“key” => “value with spaces”}” will return “key=value+with+spaces”

Leave a Reply