Hi,
I am trying to create a simple webhook but with no success.
Here is the json file:
{
"event": "rob/tempsrednja",
"url": "http://oip.robertivanc.com/api/event",
"requestType": "POST",
"noDefaults": true,
"json": {
"name": "tempsrednja",
"value": "{{SPARK_EVENT_VALUE}}"
},
"mydevices": true
}
And here is the output of cli:
C:\svn\ReberHisa\reber>particle webhook create rebertemp.json
Using settings from the file rebertemp.json
Sending webhook request { uri: 'https://api.particle.io/v1/webhooks',
method: 'POST',
json:
{ event: 'rob/tempsrednja',
url: 'http://oip.robertivanc.com/api/event',
deviceid: undefined,
requestType: 'POST',
mydevices: true },
headers: { Authorization: 'Bearer 3221cde31a9246a9513bab4247cc23f46eeaa41a' } }
However particle webhook list is empty, and also nothing gets posted to my endpoint.
How can I debug this?