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
- 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
- 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
- Benjamin Clos - creator and maintainer