Postman测试api@RequestBody接收参数
api
postman
结果
{ "code": 400, "message": "Content type 'multipart/form-data;boundary=--------------------------043259503089931000115304;charset=UTF-8' not supported" }
问题解决,重新设置postman
数据
{"id":13,"username":"bbb","password":"123","nickName":"bb1"}
可以正确获取数据进行更新了
{ "code": 200, "data": null, "message": "SUCCESS" }