setBody

fun TestApplicationRequest.setBody(value: String): Unit

Set HTTP request body text content

fun TestApplicationRequest.setBody(value: ByteArray): Unit

Set HTTP request body bytes

fun TestApplicationRequest.setBody(
    boundary: String,
    parts: List<PartData>
): Unit

Set multipart HTTP request body