全部 ApiPost使用 后端 前端 接口测试 IOS Android 数据库 2022 测试技术 工具
问答 / 问答详情

[已处理] "Content type 'application/octet-stream' not supported",

ApiPost使用 6039次浏览

{

"timestamp": 1573107759542,

"status": 415,

"error": "Unsupported Media Type",

"exception": "org.springframework.web.HttpMediaTypeNotSupportedException",

"message": "Content type 'application/octet-stream' not supported",

"path": "/decisionApplyApi/request"

}

麻烦大神帮忙解答一下。。按照application/json的格式提交请求。 为什么提示不支持application/octet-stream 这个错误

| 0 收藏

4 个回答


"Content type 'application/octet-stream' not supported",

加个header头强制下看看。

加上header头可以了

Apipost 私有化火热进行中

撰写答案

只服务于

前后端、移动端、测试人员

提问题 发布您遇到的Bug和问题,上万名大牛和开发者来帮您解决!