A community member created a webhook form with a text field for a URL and added the n8n webhook URL and POST method. They checked in n8n and the POST method was set correctly, but the form was not working. Other community members suggested that the issue might be related to the form being on a 404 page, as duplicating the page and changing the code to 200 made it work. The idea behind the 404 page was to prefill the URL and ask users to send a heads up when they encounter a deleted page. Some community members suggested removing the POST method, as webhooks should always use POST, and testing with cURL. After trying various suggestions, the community member eventually found that the issue was with the wrong webhook URL, and the form started working once the correct URL was used.
Created a webhook form with only a text-field for filling in a url. Added the n8n webhook url and the POST method. I checked in n8n, it is set to POST as well. Anyone any idea what I might be missing here?
The idea behind a webhook form on a 404 page, was to prefill the url in there and ask the user to send a heads up. So that I could keep track which pages people go to that I might have accidently deleted.
Worker fetch is invoked with whatever method user provided. Though since we always passing json as body, GET just would not work. So only POST and PUT make sense.
In the future we need to support GET and DELETE methods by writing form data into url search params like browsers do.