woosh::robot::SwitchControlMode
woosh::robot::Mode
username:password
Authorization: Basic *****************
{
"mode": 1
}
curl --location --request POST '/woosh/robot/SwitchControlMode' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"mode": 1
}'
{"body":{"ctrl":2,"work":3},"msg":"Request succeed","ok":true,"type":"woosh.robot.Mode"}