Hope i am posting in correct area.
I am having issues sending a https request via a scene using open luup.
The server i am trying to post to will only recieve post request in web form or or json body or cURL.
I am using method 3 here http://wiki.micasaverde.com/index.php/Luup_Scenes_Events#Access_the_web
It works fine using this :
local http = require("socket.http")
http.TIMEOUT = 5
result, status = http.request("https://maker.ifttt.com/trigger/##1##/with/key/ghXkfhheysjswjs7sjhdfhdfhgsgpW")
but if i try:
local http = require("socket.http")
http.TIMEOUT = 5
result, status = http.request("https://llamalab.com/automate/cloud/message?secret=uf7d8dfhfj43h4h3heyyh43h3usu&to=test@test.com&device=null&priority=high&payload=launch;com.test.test;test;")
it is not recieved.
It all works from automate test page here Automate Cloud Endpoint
Can anyone help me out. Is the request method actuall post?