username:password
Authorization: Basic *****************
{
"robotId": 30001,
"allow": true
}
curl --location --request POST '/woosh/robot/setting/AutoCharge' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"robotId": 30001,
"allow": true
}'
{"body":{"allow":true,"robotId":30001},"msg":"Request succeed","ok":true,"type":"woosh.robot.setting.AutoCharge"}