medium v0.2.0 Medium.Helpers.Query
This module helps encoding lists in query parameters, as this operation is not supported by the standard library.
Summary
Functions
This function is a simple wrapper around URI.encode_query/1
, but with
a little tweak in order to accept lists as parameters
Functions
This function is a simple wrapper around URI.encode_query/1
, but with
a little tweak in order to accept lists as parameters.
Example
Medium.Helpers.Query.encode(%{one: ["one", "uno"]})
# => "one=one%2Cuno"