- Apifox Echo
- HTTP 方法
- HTTP 状态码
- 任意内容
- 动态内容
- 返回格式
- 检查 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 信息
- 图片
- Cookies
- 重定向
- Auth
返回指定的状态码(可指定多个随机返回)
DELETE
https://echo.apifox.com/status/{codes}
Status codes
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://echo.apifox.com/status/200,404'
响应示例响应示例
200 - 示例 1
{}
请求参数
Path 参数
codes
string
必需
示例值:
200,404
返回响应
🟢200Informational responses
text/plain
Body
object {0}
🟢200Success
🔵300Redirection
🟠400Client Errors
🔴500Server Errors
修改于 2022-09-14 07:55:20