curl 模拟post请求

curl -H "Content-Type:application/json" -X POST --data '{"openId":"xxxxxxx","nickName":"riven","gender":1,"city":"xx","province":"xx","country":"xx","avatarUrl":"xxxxxxxxxxxx","unionId":"xxxxx"}' http://127.0.0.1/function

posted @ 2018-10-30 15:59  ```Riven  阅读(140)  评论(0)    收藏  举报