Merge pull request #4 from thomasleveil/httprequest-ignore-ssl

 Add option "allowUnauthorizedCerts"  to HttpRequest-Node
This commit is contained in:
Jan
2019-08-14 07:12:24 +02:00
committed by GitHub

View File

@@ -116,6 +116,13 @@ export class HttpRequest implements INodeType {
description: 'The URL to make the request to.',
required: true,
},
{
displayName: 'Ignore SSL Issues',
name: 'allowUnauthorizedCerts',
type: 'boolean',
default: false,
description: 'Still download the response even if SSL certificate validation is not possible.',
},
{
displayName: 'Response Format',
name: 'responseFormat',
@@ -366,6 +373,7 @@ export class HttpRequest implements INodeType {
headers: {},
method: requestMethod,
uri: url,
rejectUnauthorized: !this.getNodeParameter('allowUnauthorizedCerts', itemIndex, false) as boolean,
};
if (parametersAreJson === true) {