Michael Mascoli Posted February 22 Share Posted February 22 I'm trying to make a website to control a shelly 1. I'm sending this API request: POST /device/relay/control HTTP/1.1 Host: shelly-95-eu.shelly.cloud User-Agent: OutSystemsPlatform Content-Type: application/x-www-form-urlencoded { "id": "XXXXXX4149b0", "auth_key": "XXXXXXXXXXXXXXXXA4A201032E89607F8719ABD217B645909EDE4D033273DD506CB2CDCBF9A8183117", "channel": 0, "turn": "off" } and getting this result: { "isok": false, "errors": { "invalid_header": "Unauthorized! Wrong authorization header provided!", "invalid_token": "The login information is invalid! Please login again!" } } PS: I was able to get the GetDeviceStatus, with no problem. Quote Translate Revert translation? English (American) Finnish French German Italian Portuguese (European) Spanish Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.