Multipart.appendFormString

void appendFormString(string controlName, string data)

Adds a new MIME part containing data to multipart.

Uses "Content-Disposition: form-data", as per the HTML forms specification.

Parameters

controlNamethe name of the control associated with data
datathe body data