dynamic body
read / write

The HTTP request body.

Sets the body of this instance directly.

Prior to execution, this property will be encoded according to its contentType and HTTPCodecRepository. If encodeBody is false, this must be a List<int>.

Prefer to use setBody, json or formData which set this property and contentType at the same time.

Note: for backwards compatibility, if body is a String is encoded as UTF8 bytes by default and no codec is used.