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