curl
curl www.baidu.com
curl www.baidu.com -I
curl www.sina.com -L
curl www.baidu.com -v
curl www.baidu.com --trace
curl -X POST --data "data=xxx" example.com/form.cgi
curl -H "Content-Type: application/json" -X POST -d "{"abc":123}" "https://httpbin.org/post"
curl -H "Content-Type: application/json" -X POST -d @test.json URL
wrieshark
- 选择网卡
- 点击开始捕获
- 浏览器输入网址如:http://10.7.123.127:8501/nav/
- 点击停止捕获
- 输入过滤条件,回车
ip.src_host == 10.7.123.127 and tcp.srcport == 8501 and tcp
tcpdump
yum -y install tcpdump
tcpdump -i lo port 8313 -A -s 0
tcpdump -i eth0 port 8313 -A -s 0