HTTP Request Node - OPTIONS request method

Hi guys,
Hope you’re all doing great !

It would help if the HTTP Request node could have this:

Screenshot 2022-03-22 at 16.57.49

OPTIONS request method.
I need this to make requests but unfortunately can’t.

Is there another way on a self-hosted instance ?

I couldn’t wait so I made a pull request since it’s literally just 4 lines of code…

Please validate it quickly :slight_smile:

3 Likes

I’m a noob to n8n and evaluating automation options for a client’s use. I need to be able to have support for the OPTIONS request method in the webhook as well. The vendor calls the webhook initially with an empty payload. expects a 200 response, then follows that up with a POST with the actual payload.

I tried to add using the expression. but that doesn’t seem to work:

In this case I would need to be able for the webhook to support both POST and OPTIONS methods.

Please advise

Thanks.

1 Like

+1 i need it pls