1. 在postman中使用带body的POST2. 在curl中使用带body的POSTcurl -H "Content-Type:application/json" -XPOST http://localhost:8080/api/city -d '{ "id":"3", "provinceId":"3", "cityName":"zhuhai", "description":"live in zhuhai"}'
热门工具 换一换