资源代理

代理外部资源

代理外部资源(图片、音频、视频流等),解决浏览器 CORS 限制。支持流式转发、Range 请求透传、Content-Type 透传和域名白名单校验

get/proxy

Request

  • Base URL: https://localhost:58091/api/v1
  • URL: https://localhost:58091/api/v1/proxy
  • Auth: API key in header Authorization

Query parameters

urlstring required

目标资源的 URL(URL 编码)

Response

代理的资源内容

Changes

No recorded changes to this operation across all 166 revisions of this API.