接口参数若使用了消息体数据,可能会碰到一个报错信息
“status":415,"error":"Unsupported Media Type","message":"Content type 'text/plain;charset=UTF-8' not supported"
此时需要增加一个HTTP信息头管理器,线程组(或接口)-添加-配置元件-HTTP信息头管理器
- 名称:Content-Type
- 值:application/json
接口参数若使用了消息体数据,可能会碰到一个报错信息
“status":415,"error":"Unsupported Media Type","message":"Content type 'text/plain;charset=UTF-8' not supported"
此时需要增加一个HTTP信息头管理器,线程组(或接口)-添加-配置元件-HTTP信息头管理器
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。