formData


Description:

public HttpRequestBuilder formData (HashMap<string,string> fields)

Sets the request body to URL-encoded form data.

Content-Type is set to application/x-www-form-urlencoded.

Parameters:

fields

key-value form fields.

Returns:

this builder for chaining.