Apifox Echo
任意内容
复制页面
Apifox Echo
Apifox Echo
HTTP 方法
使用 Query 参数
GET
使用 POST 参数
POST
使用 DELETE 参数
DELETE
使用 PUT 参数
PUT
使用 PATCH 参数
PATCH
HTTP 状态码
返回指定的状态码(可指定多个随机返回)
DELETE
返回指定的状态码(可指定多个随机返回)
GET
返回指定的状态码(可指定多个随机返回)
PATCH
返回指定的状态码(可指定多个随机返回)
POST
返回指定的状态码(可指定多个随机返回)
PUT
返回指定的状态码(可指定多个随机返回)
TRACE
任意内容
返回所有Request的内容
DELETE
返回所有Request的内容
GET
返回所有Request的内容
PATCH
返回所有Request的内容
POST
返回所有Request的内容
PUT
返回所有Request的内容
TRACE
返回所有Request的内容
DELETE
返回所有Request的内容
GET
返回所有Request的内容
PATCH
返回所有Request的内容
POST
返回所有Request的内容
PUT
返回所有Request的内容
TRACE
动态内容
解码 base64url-encoded 字符串
GET
返回 n 个随机 bytes
GET
延迟返回
DELETE
延迟返回
GET
延迟返回
PATCH
延迟返回
POST
延迟返回
PUT
延迟返回
TRACE
Drips data over a duration after an optional initial delay.
GET
生成包含分页码的数据
GET
Streams 方式返回 n 个字节
GET
Stream 方式返回 n 个字节
GET
Stream 方式返回 n 个 JSON
GET
返回一个 UUID4
GET
返回格式
返回 Brotli-encoded 数据
返回 Deflate-encoded 数据
Returns page denied by robots.txt rules.
返回 UTF-8 encoded body
返回 GZip-encoded 数据
返回简单的 HTML 数据
返回简单的 JSON 数据
返回 robots.txt rules
返回简单的 XML 数据
检查 Response 信息
Returns a 304 if an If-Modified-Since header or If-None-Match is present. Returns the same as a GET otherwise.
Sets a Cache-Control header for n seconds.
Assumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately.
Returns a set of response headers from the query string.
Returns a set of response headers from the query string.
检查 Request 信息
返回 Request HTTP header
返回请求的 IP 地址
返回请求的 User-Agent header
图片
返回 JPEG 格式图片
返回 PNG 格式图片
返回 SVG 格式图片
返回 SEBP 格式图片
根据 Accept header 返回对应格式图片
Cookies
返回 cookie 数据
Deletes cookie(s) as provided by the query string and redirects to cookie list.
通过 Query 参数设置 Cookie
Sets a cookie and redirects to cookie list.
重定向
Absolutely 302 Redirects n times.
302/3XX Redirects to the given URL.
302/3XX Redirects to the given URL.
302/3XX Redirects to the given URL.
302/3XX Redirects to the given URL.
302/3XX Redirects to the given URL.
302/3XX Redirects to the given URL.
302 Redirects n times.
Relatively 302 Redirects n times.
Auth
HTTP Basic Auth
Bearer Token
Digest Auth
Digest Auth + Algorithm
Digest Auth + Algorithm
HTTP Basic Auth
任意内容
MCP
复制页面
返回所有Request的内容
POST
https://echo.apifox.com
/anything
调试
Run in Apifox
Run in Apifox
请求示例
请求示例
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
POST
'https://echo.apifox.com/anything'
响应示例
响应示例
{
}
请求参数
无
返回响应
🟢
200
Anything passed in request
application/json
生成代码
Body
生成代码
object
{0}
修改于
2025-02-27 02:28:06
上一页
返回所有Request的内容
下一页
返回所有Request的内容