Report HTTP Response Headers to stderr?

前端 未结 2 2124
抹茶落季
抹茶落季 2021-02-20 12:39

I have been using curl -i http://website.com for a long time. It\'s great, it reports the response headers and information.

I also use a tool jq

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-20 13:18

    Try this command:

    curl -s -D /dev/stderr http://www.website.com/... | jq

提交回复
热议问题