Webhook Node - More Http Method Options [GOT CREATED]

Hello, everyone!

I’m new in n8n and I’ve been playing with Webhook Node for the last few days. I got it working just right, but I wonder if is possible for Webhook to listen to other Http Methods such as, for example, PUT or DELETE. In my use case, I have to use a third party API (which I have no control) and methods GET, POST and HEAD are not enough.

Since Webhook node does not provide this out-of-the-box, I tried to implement my own Trigger Node following the Creating your first trigger node tutorial but I had no success. I tried to setup different http methods on the node description (code below) but it didn’t work. It seems n8n ignores http methods different from GET, POST or HEAD.

Could someone provide me any help on how to accomplish this? Or is it something not possible to implement in n8n?

Thank you very much for the help.

description: INodeTypeDescription = {
webhooks: [
			   name: 'default',
			   httpMethod: 'PUT',
			   responseMode: 'onReceived',
			   path: 'webhook',

Welcome to the community @Henrique_Rabello!

That is currently not possible, also not with a custom node as the core does currently not support that. Would however not be too complicated to add.

Changed your topic to “Feature Request”.

1 Like

Uh just saw this Feature Request by accident. This is possible for a while now.

1 Like

Hi @jan,

Are methods other than GET, POST, HEAD supported recently?
In version 0.159.1 this is not yet included and on GitHub I have also seen only GET, POST and HEAD.

But I would also be very happy about the support of “all” HTTP methods - especially OPTIONS for CORS XHR requests. Then n8n can show its full power as an API server. So you always have to cobble together an API gateway/proxy.

If this feature would be integrated and the dynamic JWT validation for webhooks would be integrated as authentication type (KrakenD e.g. does this quite well), n8n would be the pure wonder weapon on a web server.

Hey there! Same case here. Some third party API needs more methods, like PUT or DELETE.

So, today, is there a way to run webhooks with a PUT or DELETE methods?
Israel !

Welcome to the community @Israel!

The methods DELETE, PATCH and PUT got added to Webhook and Wait-Node and released with [email protected].

Ah and @BillAlex, also OPTIONS request is supported for the Webhook-Node but not the Wait-Node yet. So it can not be set on the Webhook-Node itself but n8n takes care of that automatically.

1 Like