hi
I am trying to make a Virtual Device button activate a http device. It does not work I put the code below
local http = net. HTTPClient ()
http : request ( 'https://my.zipato.com/zipato-web/remoting/attribute/set?serial=0120EB1A0E019551&apiKey=39d5765a-d4c8-45ed-9b33-801aae520b6c&ep=8e8c9506-8b33-4975-97f2-cb845cbef252&state=0',
success = function (response) fibaro: debug (response. data) end,
error = function (err) fibaro: debug ("Error:" .. err) end
})