Echo API

请求检查(httpbin 风格)。对任何方法、任何子路径,都原样返回服务器收到的全部内容。

免费:这些端点无需账号。

请求示例

Returns the request's headers. 完整参考和 Send 按钮(英文).

cURL
curl -X GET "https://api.testingapis.com/api/echo/headers"
响应 · 200 OK
{
  "count": 5,
  "headers": {
    "Accept": "*/*",
    "Connection": "keep-alive",
    "Host": "api.testingapis.com",
    "User-Agent": "python-requests/2.33.1",
    "Accept-Encoding": "gzip, deflate, zstd"
  }
}