mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
Merge pull request #4 from thomasleveil/httprequest-ignore-ssl
✨ Add option "allowUnauthorizedCerts" to HttpRequest-Node
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user