通过curl获取网页的返回的状态码

2018-01-26  本文已影响559人  think_lonely

curl -I -s -w "%{http_code}\n" -o /dev/null localhost:8888/index.jsp

上一篇 下一篇

猜你喜欢

热点阅读