sendPostRequest

suspend fun sendPostRequest(action: NetworkAction, authHeader: String?, body: Any): ByteArray

Send a post-request to another party.

Parameters

action

The mpc action to perform requires a post-request.

authHeader

The authentication header to send with the post-request.

body

The request body to be sent.