HTTP 测试器

开发过程中用于检查请求的 httpbin 风格工具集。

可用端点

GEThttps://mockapi.yourapiservice.com/api/get

检查 query 参数和 header

POSThttps://mockapi.yourapiservice.com/api/post

检查 POST 的 body 和 header

PUThttps://mockapi.yourapiservice.com/api/put

检查 PUT 的 body 和 header

PATCHhttps://mockapi.yourapiservice.com/api/patch

检查 PATCH 的 body 和 header

DELETEhttps://mockapi.yourapiservice.com/api/delete

检查 DELETE 请求

GEThttps://mockapi.yourapiservice.com/api/headers

回显所有请求 header

GEThttps://mockapi.yourapiservice.com/api/bearer

测试 bearer token 认证

GEThttps://mockapi.yourapiservice.com/api/basic-auth

测试 HTTP Basic 认证

GEThttps://mockapi.yourapiservice.com/api/status

返回指定状态码

GEThttps://mockapi.yourapiservice.com/api/delay

延迟响应(秒)

GEThttps://mockapi.yourapiservice.com/api/ip

返回调用方的 IP 地址

GEThttps://mockapi.yourapiservice.com/api/user-agent

返回 User-Agent 请求头

GEThttps://mockapi.yourapiservice.com/api/redirect-to

跟随重定向到另一个路径

GEThttps://mockapi.yourapiservice.com/api/cookies

返回此请求发送的 cookie

GEThttps://mockapi.yourapiservice.com/api/cookies/set

根据查询参数设置 cookie

已保存的请求