Add DELETE, PATCH and PUT request support to Webhooks

This commit is contained in:
Jan Oberhauser
2022-02-20 10:30:01 +01:00
parent ec5bfaf895
commit 9a06d0fffc
5 changed files with 103 additions and 249 deletions

View File

@@ -250,6 +250,10 @@ export class Wait implements INodeType {
},
},
options: [
{
name: 'DELETE',
value: 'DELETE',
},
{
name: 'GET',
value: 'GET',
@@ -258,10 +262,18 @@ export class Wait implements INodeType {
name: 'HEAD',
value: 'HEAD',
},
{
name: 'PATCH',
value: 'PATCH',
},
{
name: 'POST',
value: 'POST',
},
{
name: 'PUT',
value: 'PUT',
},
],
default: 'GET',
description: 'The HTTP method of the Webhook call',
@@ -514,6 +526,8 @@ export class Wait implements INodeType {
displayOptions: {
show: {
'/httpMethod': [
'PATCH',
'PUT',
'POST',
],
},