AddHeader - cBaseHTTPTransfer
Adds the HTTP header named sHeaderName with the value sHeaderValue to the HTTP headers
Type: Function
Return Data Type: Integer
Parameters
| Parameter | Type | Description |
|---|---|---|
| sHeaderName | String | The HTTP header |
| sHeaderValue | String | The HTTP value |
Syntax
Function AddHeader String sHeaderName String sHeaderValue Returns Integer
Call Example
Get AddHeader sHeaderName sHeaderValue to IntegerVariable
Description
AddHeader adds the HTTP header named sHeaderName with the value sHeaderValue to the HTTP headers. The HTTP headers are automatically sent to RemoteHost during GetRequest, PostRequest and PutRequest.
Return Value
Returns True if successful, and False otherwise.