Apifox Echo
  • 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.GET
    • Sets a Cache-Control header for n seconds.GET
    • Assumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately.GET
    • Returns a set of response headers from the query string.GET
    • Returns a set of response headers from the query string.POST
  • 检查 Request 信息
  • 图片
  • Cookies
  • 重定向
  • Auth
Powered by Apifox

    Sets a Cache-Control header for n seconds.

    GET/cache/{value}

    请求参数

    Path 参数
    value
    integer 
    必需

    示例代码

    返回响应

    Cache control set(200)
    HTTP 状态码: 200
    内容格式: JSON
    数据结构
    object {0}
    示例
    {}
    修改时间 1 年前
    上一页
    GETReturns a 304 if an If-Modified-Since header or If-None-Match is present. Returns the same as a GET otherwise.
    下一页
    GETAssumes the resource has the given etag and responds to If-None-Match and If-Match headers appropriately.