curl

cURL

-L, –location follow redirects

查看详细过程,可以看到返回 status code
-v, –verbose more output, indicates the direction

-s, –silent don’t show a progress bar
-o, –output /dev/null don’t show received body

只显示返回请求头
-I, –only show http head