URL: https://backend.tinxy.in/v2/devices/<device-id>/toggle
{
"request": {
"state": 1
},
"deviceNumber": 3
}
This request is returning Internal Server Error
.
While this request:
{
"request": {
"state": 0
},
"deviceNumber": 3
}
is returning a valid response:
{
"state": "OFF"
}
Device: WIFI_4SWITCH