>weed.exe master -ip=192.168.20.208 -port=9333
>weed.exe volume -dir="data" -max=5 -mserver="192.168.20.208:9333" -port=8080 -ip=192.168.20.208
curl http://192.168.20.208:9333/dir/assign
{
"fid": "3,0f7007667d",
"url": "192.168.20.208:8080",
"publicUrl": "192.168.20.208:8080",
"count": 1
}
curl -X POST \
'http://192.168.20.208/3,0f7007667d' \
-H 'cache-control: no-cache' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW' \
-F 'file=@C:\Users\top\Desktop\a3.jpeg'
{
"name": "a3.jpeg",
"size": 32040,
"eTag": "fcdbe83b"
}
网友评论