RESTResponse¶
This is a JavaScript wrapper for RESTResponse
Property Summary¶
Property | Description |
---|---|
GetResponseBodyObject | The body of the HTTP response as a JSON object |
Action Summary¶
Action | Description |
---|---|
GetHeader | HTTP header |
GetIsErrorStatus | 'true' when there was an error |
GetResponseBodyText | The body of the HTTP response in raw text format |
GetStatusCode | HTTP response code |
GetStatusText | Text version of the response code |
Property Detail¶
GetResponseBodyObject¶
The body of the HTTP response as a JSON object
Type:
Action Detail¶
GetHeader¶
HTTP header
RESTResponse.GetHeader(name)
Parameters:
Name | Type | Description |
---|---|---|
name | string | Header Name |
GetIsErrorStatus¶
'true' when there was an error
RESTResponse.GetIsErrorStatus()
GetResponseBodyText¶
The body of the HTTP response in raw text format
RESTResponse.GetResponseBodyText()
GetStatusCode¶
HTTP response code
RESTResponse.GetStatusCode()
GetStatusText¶
Text version of the response code
RESTResponse.GetStatusText()