This service allows you to bypass CORS restrictions by proxying requests to other domains.
Returns the response wrapped in JSON with metadata:
GET /get?url=https://example.com
Returns the raw response with original content type:
GET /raw?url=https://example.com
// JavaScript fetch examples
const response = await fetch('/get?url=' + encodeURIComponent('https://api.github.com/users/octocat'));
const data = await response.json();
console.log(data.contents);
const imageResponse = await fetch('/raw?url=' + encodeURIComponent('https://example.com/image.jpg'));
const imageBlob = await imageResponse.blob();
All responses include appropriate CORS headers to allow cross-origin requests from any domain.