putJson

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

Send a PUT 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.