HTTP.sendRequest()

Signature

Event sendRequest(String url,SimpleEvent requestEvent, String responseEventURI, long timeoutMillis)

Domain

Parameters

NameTypeDescription
urlStringThe URL for the endpoint.
requestEventSimpleEventThe input event to send
responseEventURIStringURI of event to be created once response received
timeoutMillislongtime out for the operation, -1 signifies wait forever.

Returns

TypeDescription
Eventevent The response event