Create a listener for testing
To test and examine the webhooks data Feed Control sends, you can use a site like Webhooks.site.
When you load the site you will be assigned a URL that you can use as the Webhooks URL in Feed Control to examine incoming webhooks.
Copy your assigned URL and paste it into the Webhooks URL field in Feed Control (see previous article on enabling webhooks).
Enable webhooks on a new feed
Add a new feed (enter your own source feed URL or select one of our suggested options) and in the alerts step enable webhooks.
Check Feed Control for sent webhooks
From the management page, click 'Webhooks' on the left navbar. You will now see a list of webhooks sent by Feed Control to your Webhooks handler URL:
Check the listener for webhook requests
It should look something like this:
Trigger webhook alerts for an existing feed
When testing, you probably don't want to wait for new items to be published just to test your webhooks. Another way to trigger them is to delete all feed items in the feed and then refresh the feed so new items get added back in. Doing this will trigger webhook alerts.
We suggest you do this on a new feed you've added just for testing purposes.
- In the feed details view, use the 'Select Action' dropbox in the top right and choose 'Delete feed items'. Click the play button to execute the action.
- Now use the 'Select Action' dropbox again and choose 'Refresh feed'. Click the play button again to execute the action.
- Go back to the webhook listener page and you should see new requests displayed in the left column. Click on one to examine it.
Comments
0 comments
Please sign in to leave a comment.