How to run this code in lua

how can i execute this code currectlly in the luup?
this code not working. i get an error in the code.


That call is documented here

…with an example.

from your code it looks like you are trying to send an http action to another rest api server???

if this is the case, you may want to use luup.inet.wget instead of luup.call_action. The vera is not running the action, it is only sending an http call for the other server to process the TTS action.


1 Like

many thanks… it’s working.