(Quick Reference)

form

Purpose

Values to send with the request as an encoded HTML form.

Examples

jerseyRequestBuilder.post {
    uri = "http://example.com"
    form = [
        "foo": "bar"
    ]
}

Description

Sets the key/value pairs to use as an HTML form request. The body of the request will be formatted correctly for a server to process an HTML form post.

If this property is set, the body property will be ignored.