--url https://platform.mydevices.com/v1.1/things/device_id/cmd \
--header 'authorization: Bearer access_token' \
--header 'content-type: application/json' \
--data '{
"channel": 5,
"value": 1
}'
it works fine for me. i get a 200 response. I even used it in one of my projects Jarvis Cayenne