HTTP.sendAsynchronousRequest()
Signature
String sendAsynchronousRequest(String url, SimpleEvent requestEvent, String correlationId, String callbackRuleFunctionURL, String methodType)
Parameters
Name | Type | Description |
url | String | The URL for the endpoint. |
requestEvent | SimpleEvent | The input event to send |
correlationId | String | An optional id to correlate request and response. |
callbackRuleFunctionURL | String | The fully qualified path of a rule function. |
methodType | String | The HTTP method type, should be POST if the requestEvent's payload is not null |
Returns
Type | Description |
String | the correlation id |