Great talk on how webhooks work on a general level: https://vimeo.com/album/4045988/video/172433862
Set-up a webhook consumer like you would set-up any route in your app: http://cookieshq.co.uk/posts/how-to-receive-webhooks-in-your-ruby-on-rails-application/
Great article from Stripe on how to handle and get started with webhooks: https://stripe.com/docs/webhooks
Most APIs will require a publicly available endpoint to POST callbacks to. How do you do this on your development environment, though?
You can expose a port in your local environemt to the internets with a service like ngrok: https://www.lullabot.com/articles/exposing-callback-and-webhook-urls-on-localhost
Ultrahook is another tool similar to ngrok you can use: http://www.ultrahook.com/
- Django: https://djangopackages.org/grids/g/webhooks/
- Python: http://stackoverflow.com/questions/14536992/how-do-i-receive-github-webhooks-in-python
- ASP.Net: http://www.hanselman.com/blog/IntroducingASPNETWebHooksReceiversWebHooksMadeEasy.aspx
- PHP: https://packagist.org/search/?tags=webhook or http://nationbuilder.com/drewstromberg/php_webhook_listener