post

suspend fun post(originalUrl: String, requestBody: String, headers: <ERROR CLASS><String, String> = HashMap()): String

Makes a POST request

Parameters

originalUrl

the URL to call

headers

Headers to use (optional)

requestBody

the request body as a String