Request.setBody

Set the body of the request.

The body of a request is optional and only makes sense for POST requests. It is ignored for all other methods. The body is empty by default.

class Request
void
setBody
()

Parameters

requestBody
Type: string

Content of the body

Meta