Here is our code to make a subscription of 'rotate' via Webhook. We also added the token of recipient to Webhook in [integrations] on Particle.
Event Name: triggerRotate
{
"name": "rotate",
"data": "hello: {{PARTICLE_EVENT_VALUE}}}",
"private": "true",
"access_token": "{recipient's token}"
}
Content Rating
Is this a good/useful/informative piece of content to include in the project? Have your say!
You must login before you can post a comment. .