postman请求报 Content type ‘text/plain;charset=UTF-8’ not supported
raw位置改为json

本文档介绍了在使用Postman进行API测试时遇到Content-Type 'text/plain;charset=UTF-8'不被支持的错误,以及如何将请求内容类型更改为JSON的方法。通过调整Header设置,将Content-Type设置为'application/json',并正确构造JSON格式的请求体,可以成功发送JSON请求。此外,还探讨了Postman中Raw和预览模式的切换对请求的影响。
postman请求报 Content type ‘text/plain;charset=UTF-8’ not supported
raw位置改为json


被折叠的 条评论
为什么被折叠?