curl命令用于模拟http浏览器发起动作 1、模拟http浏览器发起访问百度首页的动作 curl http://www.baidu.com 2、也可以模拟http浏览器发起POST动作,这个在测试后端程序时非常常见。