Thank you very much for your support!
I really tried them all, even with the get, if I don’t use “QueryParameters” it denies me permission.
here is the proof as you suggested and his response
can you give me a hint to see how thunkable web-api translates the code I wrote?
I would like to find a way to know if it really ships
curl -X POST https://<server_uri>/device/relay/control -d “channel=&turn=<on|off>&id=<device_id>&auth_key=<auth_key>”
as I asked it to do
Without this call my app is meaningless!
If anyone can help me I would be very grateful.
To try it would just need to install his shelly cloud app, that way you can have your “auth_key” then I share a device with you just by stating your email with which you registered in the app and so you also have in id device to try it.
Would anybody do that?
Thank you, I did several tests following your advice, but I’ll tell you what I found out.
the get with /device/status was already working for me using the queryParameter, in this case I need a set using a POST and thus doing a /device/relay/control
I tried from promt and the curl command and even mixing the parameters the device always responds, so it seems that the order is not important
I still tried your sequence (and mine which i put the picture below) and it doesn’t work because it gives the error “header property …”
4 I tried removing the body altogether and it gives the same error “header property…” so time there is a problem in the headers
@muneer if you install the shelly cloud app, that way you can have your “auth_key” after I share a device with you and you have an id device to try it.
would you do me this favor.
@muneer thank you very much, please allow me to unblock the app that stops on this issue. When you install the “Shelly Cloud” app please send me your email to share my device with you.