Skip to content

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

GetHeader(name) 

Parameters:

Name Type Description
name string Header Name

GetIsErrorStatus

'true' when there was an error

GetIsErrorStatus() 

GetResponseBodyText

The body of the HTTP response in raw text format

GetResponseBodyText() 

GetStatusCode

HTTP response code

GetStatusCode() 

GetStatusText

Text version of the response code

GetStatusText()