encodeToXWWWFormUrl

fun <T> encodeToXWWWFormUrl(serializer: SerializationStrategy<T>, value: T): String

Encode a serializable object to a x-www-url-encoded string. The source object must convert to a Map so that the parameters can be named.