Skip to main content
Version: 5.7.0

GetResponseText

This operation retrieves a Text document from an external web site.

Results

NameDescription
responseText response.
ServiceOperation
httpClientGET_RESPONSE_TEXT

Method Parameters

ParameterDescription
serviceCodeService code of the external service configured in the Cloud Code - Web Services section of the portal.
pathPath to append to the Base URL of the service.
queryOptional map of query values.
headersOptional map of extra headers.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"packetId": 1,
"messageResponses": [
{
"status": 200,
"data": {
"response": "Text response"
}
}
]
}