restTemplat发post请求报错Content type ‘application/xml;charset=UTF-8‘ not supported“
背景:本人发送post请求,报错{"result":"FAILED","timestamp":"1634171535020","errorMessage":"Content type 'application/xml;charset=UTF-8' not supported"}看了下,请求头没问题的,另辟蹊径,用其他方式代替,暂时避免了这个问题的发生。解决方式1:自己封装http的post请求/....

Error while extracting response for type [class xxx] and content type application/xml;charset=UTF-8
强烈推荐一个大神的人工智能的教程:http://www.captainai.net/zhanghan【前言】 最近在用restTemplate进行一次http请求时发现了报错(Error while extracting response for type [class xxx] and content type application/xm....
![Error while extracting response for type [class xxx] and content type application/xml;charset=UTF-8](https://ucc.alicdn.com/pic/developer-ecology/zt3gtptdohv2k_f0ef207df876493a8e581946925c79da.jpg)
本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。
开发与运维
集结各类场景实战经验,助你开发运维畅行无忧
+关注