HTTP.sendSecureAsynchronousRequest()

Signature

String sendSecureAsynchronousRequest(String url, SimpleEvent requestEvent, String correlationId, String callbackRuleFunctionURL, String methodType, Object clientIdKeystore, String clientIdPassword ,Object trustedCertsKeystore, String trustedCertsPassword, boolean verifyHostName)

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
clientIdKeystoreObjectKeystore Object for client identity, not required for 1 way SSL
clientIdPasswordStringPassword for client id keystore, not required for 1 way SSL
trustedCertsKeystoreObjectKeystore Object for trusted certificates
trustedCertsPasswordStringPassword for trusted certificates keystore
verifyHostNamebooleanflag for checking if a hostname matches the names stored inside the server's certificate

Returns

None.