public User addUserByName(@RequestBody User user){
return user;
}
}
复制代码
各位大神,请教一个问题,正在练习spring boot框架,代码如上,然后使用postman进行post测试,body,raw,jason,但木有成功,错误:{"timestamp":"2021-02-02T00:57:51.049+00:00","status":500,"error":"Internal Server Error","message":"","path":"/users/po"}