hyTags
HomeHome Getting StartedGetting Started DocumentationDocumentation

request-set-object

Sets the request body to a JSON-serialized object and sets the content type to application/json.
Parameter
Type
Description
self
request
The request to modify.
object
object
The object to serialize as JSON and set as the request body.
return
void
Does not return a value. Modifies the request in place.