HttpUtils - corda

corda / net.corda.testing.http / HttpUtils

# HttpUtils

`object HttpUtils`

A small set of utilities for making HttpCalls, aimed at demos and tests.

### Properties

#### defaultMapper | `val defaultMapper: ObjectMapper`

### Functions

#### getJson | `fun <T : Any> getJson(url: URL, params: Map<String, String> = mapOf(), mapper: ObjectMapper = defaultMapper): T`
#### postJson | `fun postJson(url: URL, data: String): Unit`
#### postPlain | `fun postPlain(url: URL, data: String): Unit`
#### putJson | `fun putJson(url: URL, data: String): Unit`