body
Purpose
Sets the body of the request.Examples
jerseyRequestBuilder.post { uri = "http://example.com" body = "Hello!" }
Description
Sets the body of the request. As a convenience, objects that are aMap
or a List
will be converted to a JSON string.This property is only useful with certain HTTP methods, including PUT and POST.
This property is ignored if the form property is used.