Skip to content
This repository was archived by the owner on Sep 12, 2021. It is now read-only.

Latest commit

 

History

History
7 lines (5 loc) · 714 Bytes

File metadata and controls

7 lines (5 loc) · 714 Bytes

Testing

The app is deployed using the Procfile, so you must see that your app runs via the command in the Procfile, this currently means running your app via gunicorn main:app.

Testing webhooks

To test a webhook through a simple curl request you can use curl -X POST -H "Content-Type: application/json" -d "{ \"data\" : \"test\"}" followed by a space and your URL, you can change the data used for testing, you must escape any quotes, or you can include data from a file using the @ symbol like -d @file.json.

You must make sure your webhooks works if you miss out GET parameters, see CONTRIBUTING.md for how to do this.