/
httpCreateHeader
httpCreateHeader
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !
Availability
This routine is available starting with SIL Engine™ 4.1.0.
Syntax
httpCreateHeader(key, value)
Description
Creates an HttpHeader object.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
key | string | Yes | The key for the http header. |
value | string | Yes | The value for the http header. |
Return type
HttpHeader
Example
HttpRequest request; HttpHeader header = httpCreateHeader("Content-Type", "application/json"); request.headers += header;
See also
, multiple selections available,
Related content
httpPost
httpPost
More like this
httpGet
httpGet
More like this
httpGetHeader
httpGetHeader
More like this
httpBasicAuthHeader
httpBasicAuthHeader
More like this
httpOptions
httpOptions
More like this
httpCreateParameter
httpCreateParameter
More like this