- 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
Bearer Token
GET
https://echo.apifox.com/bearer
Auth
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://echo.apifox.com/bearer'
响应示例响应示例
200 - 示例 1
{}
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
Authorization
string
可选
返回响应
🟢200Sucessful authentication.
application/json
Body
object {0}
🟠401Unsuccessful authentication.
修改于 2023-01-05 07:50:19