curl -X POST http://ip:8888/nacos/v1/cs/file/download -H "Accept: application/octet-stream" -H "Content-type: application/json" -o file.zip -d' { "namespaceId": "9f069446-e378-49af-9f69-e4e399e9becf", "files": [] } '
-X 指定请求类型json
-H 指定请求头app
-o 指定保存文件名curl
-d 指定 json 参数url
get 请求发送参数spa
用 \& 转义code
curl http://ip:8888/nacos/v1/cs/file/downloadNamespace?namespaceId=9f069446-e378-49af-9f69-e4e399e9becf\&group=yj
或者使用引号blog
curl 'http://ip:8888/nacos/v1/cs/file/downloadNamespace?namespaceId=9f069446-e378-49af-9f69-e4e399e9becf&group=yj'