Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | httpGetResponseInfo() | Package | http | Alias | | Pkg Usage | responseInfo() | |
Description
Excerpt |
---|
|
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 |
---|
|
...
// 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) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "http_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|