post

fun URI.post(body: String): String

Sends a POST request to the given URI with the specified body and returns the response as a String.

Return

The response body as String.

Parameters

body

The body of the POST request.