Skip to main content
Version: 5.7.0

PostFormResponseJson

This operation posts a form encoded document and expects a JSON formatted document in response.

Results

NameDescription
responseJSON formatted response.
ServiceOperation
httpClientPOST_FORM_RESPONSE_JSON

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.
headersA map of extra headers (optional.)
formForm parameters.

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"
}
}
]
}