Code: Select all
curl -X POST -H "Content-Type: application/json" -d '{"text": "Test Message"}' http://192.168.2.34/api/notifyThis does not work.
Code: Select all
os.execute ('curl -X POST -H "Content-Type: application/json" -d '{"text": "Test Message"}' http://192.168.2.34/api/notify')Code: Select all
/lua/script_variable_Timelapse.lua:15: ')' expected near '{'Domoticz 2024.2 and Debian bookworm