This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Adds request header.
Syntax
<cUrl_Http>.Headers.Add(headerSpec)
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
headerSpec |
String |
No |
Header in format "HeaderName: HeaderValue".
For example: "Content-type: application/json" |
Remarks
You can add multiple headers to your request.
Restrictions
See also
Examples
uses "curl"
Dim httpRequest As New cUrl_Http
httpRequest.Headers.Add("Content-type: application/json")