# Sending data to n8n Webhook gives 404

**URL:** <https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783>\
**Category:** Questions\
**Created:** [October 23, 2020, 6:17am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783 "2020-10-23T06:17:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [October 23, 2020, 6:17am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783/1 "2020-10-23T06:17:31Z")

</div>

I’m trying to send data to WebHook and It returns a 404 error.

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/1/1b0f35f8b13ea9f2394996439ce459862895392e.png)

I have enabled WebHook Tunnel URL in env too.

 ![image](https://europe1.discourse-cdn.com/n8n/original/2X/9/9b406f6c44786846cc1b3912519c1d7b4017ca1f.png)

n8n is running on VPS behind the Nginx Reverse Proxy. And I’m using Test Webhook URL

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [October 23, 2020, 7:34am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783/2 "2020-10-23T07:34:13Z")

</div>

Is the test webhook in n8n active at that time?

---

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [October 23, 2020, 7:36am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783/3 "2020-10-23T07:36:29Z")

</div>

Yes, bro. It’s active and I tried without activating the workflow too.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [October 23, 2020, 7:39am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783/4 "2020-10-23T07:39:49Z")

</div>

Does it work if you call it with curl?  
Does the production webhook work if you set the workflow active?  
One problem that happens a lot is that people make GET requests but have it set to POST or the other way around.  
Can you call: `http://yourdomain.com/healthz` ?

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [October 23, 2020, 7:41am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783/5 "2020-10-23T07:41:53Z")

</div>

Btw. just to understand you correctly. The test-webhook is only active for 120 seconds after you pressed “Execute Worflow” and then also for just exactly one call. It has nothing to do with the workflow being active or not.

---

<div class="post-metadata">

**Author:** ![mcnaveen](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mcnaveen/32/53924_2.png) [@mcnaveen](https://community.n8n.io/u/mcnaveen)\
**Post date:** [October 23, 2020, 7:44am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783/6 "2020-10-23T07:44:36Z")

</div>

OMG, you’re a genius.

You’re right @jan

> [@jan](#):
>
> people make GET requests but have it set to POST

I have mistakenly set it to **GET** instead of **POST**. I understood the term wrong while gone through this documentation.

> **[Webhook | n8n Docs](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/)**
>
> Documentation for the Webhook node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples.

> ✅ Guys, If you want to get data from WebHook the HTTP Method should be set to `POST`. Don’t set it as `GET`

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [October 23, 2020, 8:50am UTC](https://community.n8n.io/t/sending-data-to-n8n-webhook-gives-404/2783/7 "2020-10-23T08:50:38Z")

</div>

Glad to hear that I could help. Have fun!
