Skip to content

Bridge Webhook into your tool or internal integration.

License

Notifications You must be signed in to change notification settings

ShawnDen-coder/webhook_bridge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

webhook-bridge

Bridge Webhook into your tool or internal integration. Like: Sentry WeChat, POPO

Python Version Nox PyPI Version Downloads Downloads Downloads License PyPI Format Maintenance

logo

Setup Dev Environment

pip install -r requirements-dev.txt

Test in local

This command line will auto load example plugins.

nox -s local-test

Test post data to the webhook bridge

curl -X POST "http://localhost:5001/api/plugin/sentry" -H  "accept: application/json" -H  "Content-Type: application/json" -d "[[\"browser\",\"Chrome 28.0.1500\"],[\"browser.name\",\"Chrome\"],[\"client_os\",\"Windows 8\"],[\"client_os.name\",\"Windows\"],[\"environment\",\"prod\"],[\"level\",\"error\"],[\"sentry:user\",\"id:1\"],[\"server_name\",\"web01.example.org\"],[\"url\",\"http://example.com/foo\"]]"

If everything is set up properly, you will see that the plugin is executed normally.

logo

Installing

You can install via pip.

pip install webhook-bridge

About

Bridge Webhook into your tool or internal integration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%