GET
curl http://xxxxx.xxx.xxx
curl http://xxx.xxx.xxx/login?username=xiaoming&passwd=abc123
POST
以application/x-www-form-urlencoded
方式提交
eg: curl http://xxx.xxx.com -X POST -d "parma1=xx¶m2=xxx"
curl http://xxxxx.xxx.xxx
curl http://xxx.xxx.xxx/login?username=xiaoming&passwd=abc123
以application/x-www-form-urlencoded
方式提交
eg: curl http://xxx.xxx.com -X POST -d "parma1=xx¶m2=xxx"