mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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.',
|
description: 'The URL to make the request to.',
|
||||||
required: true,
|
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',
|
displayName: 'Response Format',
|
||||||
name: 'responseFormat',
|
name: 'responseFormat',
|
||||||
|
@ -366,6 +373,7 @@ export class HttpRequest implements INodeType {
|
||||||
headers: {},
|
headers: {},
|
||||||
method: requestMethod,
|
method: requestMethod,
|
||||||
uri: url,
|
uri: url,
|
||||||
|
rejectUnauthorized: !this.getNodeParameter('allowUnauthorizedCerts', itemIndex, false) as boolean,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (parametersAreJson === true) {
|
if (parametersAreJson === true) {
|
||||||
|
|
Loading…
Reference in a new issue