Open Qingquan-Li opened 6 years ago
curl:Command Line URL viewer ,curl 是一种命令行工具,用于对 URL 的操作
curl+网址
curl -i + 网址
curl -I
curl -v +网址
了解更多:
curl+网址
:查看网页源码curl -i + 网址
:显示 http response 的头信息(包括所用服务器容器、最近修改日期、编程语言等)和网页源码curl -I
:只显示 http response 的头信息curl -v +网址
:显示一次 http 通信的整个过程,包括端口连接和 http request 头信息了解更多: