mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
✨ Add option "allowUnauthorizedCerts" to HttpRequest-Node
This commit is contained in:
parent
86e1c4a04f
commit
36e93c15de
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue