diff --git a/services/conversation/v1.html b/services/conversation/v1.html index 1839da55..04bd8e2b 100644 --- a/services/conversation/v1.html +++ b/services/conversation/v1.html @@ -108,6 +108,7 @@
  • msg.params.endpoint : If provided will be used as the url for the Assistant service.
  • msg.params.version : If provided will be used as the API version date for the Assistant service.
  • msg.params.optout_learning : Set to true to opt out of request logging. Check the documentation for details.
  • +
  • msg.params.disable_ssl_verification : Set to true to disable SSL verification. Note that this has serious security implications - only do this if you really mean to!
  • See Assistant API documentation for details.

    All Results will made available at msg.payload in JSON format. Check the documentation for details.

    diff --git a/services/conversation/v1.js b/services/conversation/v1.js index c59f8d14..e82240ff 100644 --- a/services/conversation/v1.js +++ b/services/conversation/v1.js @@ -229,6 +229,10 @@ module.exports = function(RED) { serviceSettings.timeout = parseInt(msg.params.timeout); } + if (msg.params && msg.params.disable_ssl_verification){ + serviceSettings.disable_ssl_verification = true; + } + node.service = new AssistantV1(serviceSettings); return true; }