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)
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 |
clientIdKeystore | Object | Keystore Object for client identity, not required for 1 way SSL |
clientIdPassword | String | Password for client id keystore, not required for 1 way SSL |
trustedCertsKeystore | Object | Keystore Object for trusted certificates |
trustedCertsPassword | String | Password for trusted certificates keystore |
verifyHostName | boolean | flag for checking if a hostname matches the names stored inside the server's certificate |