Skip to content

isabella232/webhook-echo-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hook Echo

this is a simple echo server written in Crystal to demonstrate how to:

  1. accept flowplayer webhooks via HTTP
  2. properly verify that the webhook signature is correct

Setup

  1. install crystal
  2. clone this repo
  3. set up a webhook delivery endpoint using something like ngrok so it is publicly reachable
  4. in the project directory run crystal run -d src/hook-echo.cr
  5. spin up your ngrok endpoint binding port 8080
  6. watch the events come in

Contributing

  1. Fork it (https://github.com/flowplayer/hook-echo/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

a simple echo server to showcase how to use flowplayer webhooks

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Crystal 100.0%