github上说明如下:
命令上传
curl -F file=@http-index-fs http://10.1.xx.60:8080/group1/upload
但是这个file参数该如何写?
参见如下:
curl -F "file=@/opt/test/test.txt" http://172.18.3.50/group1/upload
file参数也可以用相对路径
github上说明如下:
curl -F file=@http-index-fs http://10.1.xx.60:8080/group1/upload
但是这个file参数该如何写?
参见如下:
curl -F "file=@/opt/test/test.txt" http://172.18.3.50/group1/upload
file参数也可以用相对路径