corda / net.corda.testing.http / HttpApi / postJson

postJson

fun postJson(path: String, data: Any = Unit): Unit

Send a POST with a payload to the path on the API specified.

Parameters

data - String values are assumed to be valid JSON. All other values will be mapped to JSON.