Page 1 of 1

Send a command from a webscript

Posted: Wed Jul 25, 2018 3:11 pm
by flap_152
Hi,

I already made webscripts in an app to return information about my devices to a web application. Now I need to send a command to a device from a similar weebscript or maybe another REST API call. My custom command is already made.

How can we send a command from a webscript? I tried from another code sample: "commands.send(devID,'commandeName');" but I get " Function expected. " error.

Otherwise, is there a REST or other http call I can make from my web application to (trigger a) send command?

Thx