I've got a script that I want to run from several webhooks in different apps. This means it will need to know the app ID of the item that fired the webhook so it can authenticate correctly. It's been suggested on a couple of questions in the Developer Forum that the best way to achieve this is to pass the app ID in the URL as a query string.
I've tried to implement this, setting the webhook URL for an app to include
?app_id=123456789. However, when I try to access this using
$_GET['app_id'] in PHP, the parameter is not there - I've also tried printing out the query string, and this is showing up as blank. It works fine if I run the script manually in the browser with the query string included in the URL, so it seems that Podio is stripping it out of the URL.
Is this URL stripping expected behaviour, and is there a better way that I should be doing this?
Please sign in to leave a comment.