runPostRequest

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

This is the same as {doPostRequest} but returns a {{HttpResponse} instead.

Return

a String containing the response body of the HTTP POST request

Parameters

uri

the request URI

Throws