Declaration
public void AddField(
string name,
string value
)
Summary
Adds a named text value to the POST request.
Parameters
string | name |
The name of the value to add. For maximum compatibility with servers, use only printable ASCII characters in this
name. This field is encoded using UTF-8, which is supported by some modern servers, but not by others. |
string | value |
The content to add as the value. Note that this is interpreted as Unicode text, and is a poor choice for binary
data. For binary data, see MultipartFormDataHelper.AddFile(string, string, string). |