org.springframework.web.HttpMediaTypeNotSupportedException: Content type ‘text/plain;charset=UTF-8‘
org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'text/plain;charset=UTF-8' not supported
使用Postman测试接口时出现错误,原因是Postman默认是text格式,应该改为json格式。
原创
2022-01-09 17:19:19 ·
1354 阅读 ·
0 评论