jsonBody

fun ApiRequestBuilder.jsonBody(vararg pairs: Pair<String, Any?>, mode: EmulationMode? = null)
fun ApiRequestBuilder.jsonBody(json: JsonObject, mode: EmulationMode? = null)

Creates "application/json" content.