02.02.2023, 12:43
(02.02.2023, 08:29)admin Wrote: Have you replaced "--devices ID--" with actual device id in the request URL?Hi admin,
Remove log calls from inside the request table.
Your JSON is incorrect, use json.encode to have a valid output:
Code:test = json.encode({ commands = { { component = 'main', capability = 'switch', command = 'on', } } })
goods it works fine.
Thank you so much.
BR Cristian