REST.formatResponse
Defined in: REST.js.
Constructor Attributes | Constructor Name and Description |
---|---|
REST.formatResponse(theResponse)
Returns a string to be returned from the workflow.
|
Class Detail
REST.formatResponse(theResponse)
Returns a string to be returned from the workflow.
Uses JSONP if the "callback" parameter is defined.
if the "pretty" parameter is set to true we will format the response with newlines in the JSON
- Parameters:
- theResponse
- Returns:
- {string}