curl 常用参数:
curl -X POST -H "Content-Type: application/json" -d ‘{"userId":"tpedlhk0238","hotelSeq":"beijing_city_20175"}‘ http://l-qhorder.qunar.com/=/userCommentableOrder
curl -X GET http://l-qhorder.qunar.com/=/system/order/consumeStatus?orders=100578392941
-X指定执行类型
-H 设置http头,如Contet-Type:application/json,用于传输json数据
multipart/form-data 表单数据
原文:http://www.cnblogs.com/jsy306/p/4943302.html