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

猜你喜欢

转载自www.cnblogs.com/---Briven/p/9877346.html