我有一个使用终端成功运行的 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> https://sc-docker-registry.eic.fullstream.ai/v2/<image-name>/manifests/<tag> 2>&1 --insecure | grep Docker-Content-Digest | awk '{print ($3)}'
我已经设置了 header 和 auth 但无法设置 2>&1 --insecure |grep Docker 内容摘要 |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 内容摘要 |awk '{print ($3)}'
邮递员中的命令
Where do I set 2>&1 --insecure | grep Docker-Content-Digest | awk '{print ($3)}'
command in postman
我遇到了同样的问题,但是 chrome 现在可以选择将 curl 复制为 (bash)
或 (cmd).我在使用 copy as
cmd
时遇到了问题,但是当我使用 copy as bash
I had the same issue but chrome now gives you the option to copy curl as (bash)
or (cmd)
. I had the issue when using copy as cmd
but worked when I used copy as bash