mapToUrlEncodedString

static String mapToUrlEncodedString(Map<String, String> data)

Creates an urlencoded string from the given data. The created string can be used as a query string or the request body of a x-www-form-urlencoded form.

Return

The urlencoded data.

Parameters

data

A map where the key is the name of the query parameter and the value is the parameter's value.