curl \
-H "Content-Type: application/json" \
-X POST \
$REPOSITORY_URL/engine-rest
http://10.195.177.141:31406被绑定到REPOSITORY_URL。
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
发布于 2019-05-29 22:11:14
尝试用${}
封装变量
curl \
-H "Content-Type: application/json" \
-X POST \
${REPOSITORY_URL}/engine-rest
除非您的URL重新引用了curl
请求,否则该命令将按您的预期执行,否则curl
只会刮错文本。
https://askubuntu.com/questions/1147245
复制相似问题