Back to product page

Add method


Adds new variable to the collection.

Type

A HttpHeader object. Reference to created HttpHeader object that holds variable name and its value.

Syntax

  • Basic
object.Add (Name, [Value])
The Add(object,Name,Value) syntax has these parts:
objectAn expression evaluating to an object of type HttpRequestFormPost.
NameRequired. A String value. Holds variable name.
ValueOptional. A Variant value. String expression that holds variable value.

Remarks

Add method will just add new variable to the collection, which will be posted later on through request's Body.

Platforms

Windows