Hi,
Trying to create webhook below (url changed), from file named ws_setdata.json.
Command:
particle webhook create ws_setdata.json
Returns:
Using settings from the file ws_setdata.json
Please specify an event name
File ws_setdata.json content:
{
"eventName": "ws_setdata",
"url": "http://dev.xxx.com/api/v2/abcdef0123456789abcdef0123456789/spark/setdata",
"requestType": "POST",
"mydevices": true
}
Using particle-cli version 1.6.1.
File is in the same directory as the directory where the command is being issued.
I created webhooks before, just like this, with no trouble.
Thanks
Pedro