body

fun body(body: ByteArray): Request

Sets the body of the request

Return

The request builder

Parameters

body

The body of the request


fun body(body: String): Request

Sets the body of the request

Parameters

body

The body of the request as string


The body of the request Default: null (No body is sent)