标签:
1.以json格式发送post请求
curl -H "Content-Type: application/json" -X POST --data ‘{"data":"1"}‘ http://127.0.0.1/user/login
Curl用法
原文地址:http://my.oschina.net/jlan/blog/493579