Proxy API
GET https://llmfoundry.straive.com/-/proxy/[URL]
proxies requests to the specified URL. This can be used to fetch pages from the browser bypassing CORS (cross-origin) restrictions. For example:
# Get the contents of https://httpbin.org/get?x=1 as-is
curl "https://llmfoundry.straive.com/-/proxy/https://httpbin.org/get?x=1"
Notes:
- The response contains the same HTTP headers as the original, with
X-Proxy-URL: [URL]
added as the original URL. - URLs need to begin with
http...
and invalid URLs raise a HTTP 400 error - Requests longer than 30 seconds time out.