Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

httpGetResponseInfo()

Package

http

Alias

Pkg Usage

responseInfo()

Description

Excerpt
hiddentrue
Retrieves the complete response information (if existing) from the latest HTTP routine call.

Retrieves the complete response information (if existing) from the latest HTTP routine call.

Return Type

HttpResponseInfo

Example

Code Block
languagejs
...
// do some http routine call
...
HttpResponseInfo respInfo = httpGetResponseInfo();
runnerLog("Http call ended with status: " + respInfo.statusCode);
runnerLog("Http response error message: " + respInfo.errorMessage);
runnerLog("Http response reason phrase: " + respInfo.reasonPhrase);
runnerLog("Class of last http response: " + respInfo.class);
...

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "http_routine" and space = currentSpace ( )
labelsarray_routines