HTTP.sendAsynchronousRequest()

Signature

Domain

Parameters

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

Returns

TypeDescription
Stringthe correlation id