username:password
Authorization: Basic *****************
{
"robotId": 30001
}
curl --location --request POST '/woosh/robot/Setting' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"robotId": 30001
}'
{"body":{"allow":{"autoCharge":true,"autoPark":true,"goodsCheck":true,"mechanismCheck":false},"identity":{"name":"30001"},"power":{"alarm":5,"full":98,"idle":80,"low":20},"server":{"ip":"172.20.8.85","port":5420}},"msg":"","ok":true,"type":"woosh.robot.Setting"}