I want to send a simple PUT request to Fibaro.
In Fibaro i am using this simple formula
api.put (baseURL, { properties = { mode = “Cool” }})…and this works
but when i am trying this in HR it fails.
http.put (baseURL ,
{ properties: {mode:'Cool'} },
{ auth: credentials});
i am getting erro 400 bad request.
I am probably wrongly formatting the body or something…
Can you assist a bit please?
(baseURL, and credantials are correct. I am using them in other GET request wihout any problems)
Thanks