payload can accept a querystring #187

Merged
merged 1 commit into from Jul 19, 2014

2 participants

@dusty

If using a webhook, the payload is a querystring (at least with twilio), which JSON cannot parse. This causes the script to fail with a Syntax Error.

Added try/catch block to retry with querystring.

@dusty dusty payload can accept a querystring
If using a webhook, the payload is a querystring (at least with twilio), which JSON cannot parse.  This causes the script to fail with a Syntax Error.

Added try/catch block to retry with querystring.
d43f2a2
@treeder treeder merged commit 2ab721e into iron-io:master Jul 19, 2014
@treeder
Iron.io member

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment