Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleAvailability

This routine is available starting with SIL Engineā„¢ 4.1.0.

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

httpCreateHeader(key, value)

Package

http

Alias

...

Pkg Usage

createHeader(

...

key, value)

Description

Excerpt
hiddentrue
Creates an HttpHeader object.

Creates an HttpHeader object.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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

Code Block
HttpRequest request;
HttpHeader header = httpCreateHeader("Content-Type", "application/json");
request.headers += header;

...

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "http_support"routine" and space = currentSpace ( )
labelsjiraarray_project_routineroutines