https://github.com/formio/formio-webhook-receiver
An example webhook receiver application.
https://github.com/formio/formio-webhook-receiver
Last synced: 2 months ago
JSON representation
An example webhook receiver application.
- Host: GitHub
- URL: https://github.com/formio/formio-webhook-receiver
- Owner: formio
- License: mit
- Created: 2015-05-27T03:50:17.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T17:36:46.000Z (9 months ago)
- Last Synced: 2024-11-04T02:32:49.710Z (7 months ago)
- Language: JavaScript
- Size: 29.3 KB
- Stars: 13
- Watchers: 14
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - formio/formio-webhook-receiver - An example webhook receiver application. (others)
README
Form.IO webhook receiver
----------------------------
This application serves as an example webhook receiver for the https://form.io platform.Setup
-----------
First, download this application, and then run the following.```
npm install
```You can then run the example server by typing the following
```
npm run start:basic
```or
```
npm run start:validation
```Using with NGROK
----------------
You can test this locally by using this along with a utility called [NGROK](https://ngrok.com). Follow the instructions @ [https://ngrok.com/download](https://ngrok.com/download) to download and get started to create a localhost tunnel. You can create a public tunnel to your locally running receiver by typing the following command.```
ngrok http 4001
```This will connect to your webhook receiver and provide a public URL to access it.
```
Version 2.1.14
Region United States (us)
Web Interface http://127.0.0.1:4040
Forwarding http://b68934c2.ngrok.io -> localhost:4001
Forwarding https://b68934c2.ngrok.io -> localhost:4001
```This tells me that I am now able to connect to my locally running Webhook receiver by navigating to ```http://b68934c2.ngrok.io```. I can now use this within my Webhook Action settings @ Form.io.
Form.IO Setup.
-------------------
Create an application and a form within the https://form.io platform. Click on Actions, and then add a new
Webhook action. Then configure the webhook action to point to your server
with the following configurations. Your settings should look like the following.- username: test
- password: password123