Skip to content

Commit

Permalink
Merge pull request #4 from thomasleveil/httprequest-ignore-ssl
Browse files Browse the repository at this point in the history
✨ Add option "allowUnauthorizedCerts"  to HttpRequest-Node
  • Loading branch information
janober authored Aug 14, 2019
2 parents 86e1c4a + 36e93c1 commit a66235c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/nodes-base/nodes/HttpRequest.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a66235c

Please sign in to comment.