HTTP.sendAsynchronousRequest()

Signature

String sendAsynchronousRequest(String url, SimpleEvent requestEvent, String correlationId, String callbackRuleFunctionURL, String methodType)

Domain

Parameters

NameTypeDescription
urlStringThe URL for the endpoint.
requestEventSimpleEventThe input event to send
correlationIdStringAn optional id to correlate request and response.
callbackRuleFunctionURLStringThe fully qualified path of a rule function.
methodTypeStringThe HTTP method type, should be POST if the requestEvent's payload is not null

Returns

TypeDescription
Stringthe correlation id