curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"weather_query":{"mobile":"15610897869","username":"李四","area_code":"0578"}}' http://127.0.0.1:3000/weather_queries/
curl发送json到rails的方法
最新推荐文章于 2018-03-05 18:37:42 发布