ajax向后台发送JSON数据出现: Content type 'application/x-www-form-urlencoded;charset=UTF-8' not supported的错误。
Content type ‘application/x-www-form-urlencoded;charset=UTF-8’ not supported使用post协议提交时,请检查Content type类型请检查上方contentType类型,如果想用springmvc @RequestBody注解做提交json字符串自动绑定到pojo入参时,类型需要是"application/json;...
原创
2019-04-09 09:44:45 ·
17187 阅读 ·
1 评论