So I made my own version of the cloud9 for particle at
and have also included my own version of webhooks. Spent a while trying to find a website that sent reliable JSON data. I could make my own using php but that might not be helpful to others. Finally decided to use the particle site which sends a standard error message if you try to link to
https://api.spark.io/v1/devices/
The error you in get JSON format is
{
"error": "invalid_request",
"error_description": "The access token was not found"
}
So I used that to try to capture the “error_description” response and turn on D7 if the response was
"The access token was not found"
Anyway, Thanks @MORA for mentioning this, not only do I have it working but I also now have a way to use the CLI with students in a school setting.