使用curl命令行工具,是否可以echo打印或查看请求,而不是发送请求?有点像-n选项吗?我想看到请求标题和正文,以及包含的任何其他内容.除了标题和正文之外还有其他什么吗?
echo
-n
curl request httprequest echo http-headers
curl ×1
echo ×1
http-headers ×1
httprequest ×1
request ×1