我有一个在终端上成功运行的 curl 链接,但我想将其转换为 POSTMAN 请求,其中链接是,
I have a curl link which is successfully run with terminal but i want to convert it as a POSTMAN request where link is,
curl -v --silent -H "Accept: application/vnd.docker.distribution.manifest.v2+json" -X GET -u <registry-user>:<registry-password> sc-docker-registry.eic.fullstream.ai/v2/<image-name>/manifests/<tag> 2>&1 --insecure | grep Docker-Content-Digest | awk '{print ($3)}'我已设置标头和身份验证,但无法设置 2>&1 --insecure |grep Docker-Content-Digest |awk '{print ($3)}'
I have set header and auth but unable to set 2>&1 --insecure | grep Docker-Content-Digest | awk '{print ($3)}'
我在哪里设置 2>&1 --insecure |grep Docker-Content-Digest |awk '{print ($3)}' 邮递员命令
Where do I set 2>&1 --insecure | grep Docker-Content-Digest | awk '{print ($3)}' command in postman
推荐答案我遇到了同样的错误,我认为这与您在 curl 结束时发送的管道参数无关.将 url 部分括在双引号中对我的情况有所帮助.看起来它是 curl-to-postman 库
I had the same error and I think it's unrelated to the pipeline arguments you sent at the end of the curl. Enclosing url part into double quotes helped with my case. Looks like its a bug in curl-to-postman library
更多推荐
要在 postman 上运行 curl 命令,在导入 Curl 时出现错误:arg.startsWith 不是函数
发布评论