webhook-echo-demo
Hook Echo
this is a simple echo server written in Crystal to demonstrate how to:
- accept flowplayer webhooks via HTTP
- properly verify that the webhook signature is correct
Setup
- install crystal
- clone this repo
- set up a webhook delivery endpoint using something like ngrok so it is publicly reachable
- in the project directory run
crystal run -d src/hook-echo.cr
- spin up your ngrok endpoint binding port 8080
- watch the events come in
Contributing
- Fork it (https://github.com/flowplayer/hook-echo/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Benjamin Clos - creator and maintainer
Repository
webhook-echo-demo
Owner
Statistic
- 1
- 1
- 0
- 0
- 1
- almost 3 years ago
- June 24, 2021
License
MIT License
Links
Synced at
Thu, 02 May 2024 00:19:15 GMT
Languages