nicole-zhang

接口参数若使用了消息体数据,可能会碰到一个报错信息

“status":415,"error":"Unsupported Media Type","message":"Content type \'text/plain;charset=UTF-8\' not supported"

 

此时需要增加一个HTTP信息头管理器,线程组(或接口)-添加-配置元件-HTTP信息头管理器

 

  • 名称:Content-Type 
  • 值:application/json

 

分类:

技术点:

相关文章:

  • 2021-09-16
  • 2021-10-12
  • 2021-08-26
  • 2022-12-23
  • 2021-06-15
  • 2021-08-30
猜你喜欢
  • 2021-05-17
  • 2021-06-19
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2021-10-21
  • 2022-01-16
相关资源
相似解决方案