Apifox Echo
  1. HTTP 方法
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
  1. HTTP 方法

使用 DELETE 参数

DELETE
/delete
HTTP Methods
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://echo.apifox.com/delete'
响应示例响应示例
{
  "args": {
    "q1": "v1"
  },
  "data": "",
  "files": {},
  "form": {
    "b1": "v1",
    "b2": "v2"
  },
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate, br",
    "Connection": "close",
    "Content-Length": "262",
    "Content-Type": "multipart/form-data; boundary=--------------------------519039062991114527357557",
    "Host": "httpbin.apifox.com",
    "User-Agent": "apifox/1.0.0 (https://www.apifox.cn)"
  },
  "json": null,
  "origin": "116.23.126.194",
  "url": "https://httpbin.apifox.com/delete?q1=v1"
}

请求参数

Query 参数
q1
string 
可选
示例值:
v1
Body 参数multipart/form-data
b1
string 
可选
示例值:
v1
b2
string 
可选
示例值:
v2

返回响应

🟢200OK
application/json
Body
args
object 
必需
q1
string 
必需
data
string 
必需
files
object 
必需
form
object 
必需
b1
string 
必需
b2
string 
必需
headers
object 
必需
Accept
string 
必需
Accept-Encoding
string 
必需
Connection
string 
必需
Content-Length
string 
必需
Content-Type
string 
必需
Host
string 
必需
User-Agent
string 
必需
json
null 
必需
origin
string 
必需
url
string 
必需
修改于 2023-01-05 07:50:19
上一页
使用 POST 参数
下一页
使用 PUT 参数
Built with