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