doPostRequest

open fun doPostRequest(uri: URI): String
open fun doPostRequest(uri: URI, headers: Map<String, String>): String

Performs an HTTP POST request using the given URI.

Return

a String containing the response body of the HTTP POST request

Parameters

uri

the request URI

Throws