encodeQueryParams

open fun <T> encodeQueryParams(queryParams: APIRequest.Params): String

Method to assemble a query params for an "HTTP" request

Return

query params as String assembled e.g. ?param=query1¶m2=query2

Parameters

queryParams

: queryParams of request (?param=mandatory1¶m2=mandatory2)

Throws

when extra params in list is empty or is null