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

为什么请求是Content-Type: application/json 返回响应是 Content-Type: text/plain ,怎么解决

ApiPost使用 359次浏览

agent: Desktop-Agent

address

General

Request Method: POST

Request URL: https://demo-api.apipost.cn/api/demo/auth/users

Status Code: 404

Request Time: 16:05:28

Request Headers

User-Agent: PostmanRuntime-ApipostRuntime/1.1.0

Cache-Control: no-cache

Accept: */*

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

Content-Type: application/json

Content-Length: 0

Request Body

Response Headers

Date: Wed, 18 Oct 2023 08:05:28 GMT

Content-Type: text/plain

Content-Length: 18

Connection: keep-alive

Access-Control-Allow-Credentials: true

Access-Control-Allow-Headers: Content-Type,AccessToken,X-CSRF-Token, Authorization, Token

Access-Control-Allow-Methods: POST, GET, OPTIONS, PUT, DELETE,UPDATE

Access-Control-Allow-Origin: *

Access-Control-Expose-Headers: Content-Length, Access-Control-Allow-Origin, Access-Control-Allow-Headers, Content-Type

Response Body

404 page not found

| 0 收藏

解决方案

6iwxz5d23QRUKuXFe9WyLg==

评论

开发者问答

只服务于

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

发布解决方案 发布您遇到的Bug和解决方案,成为大神,让众人膜拜吧!