Live Demo
API Documentation
To use the API directly, send a GET request to the following endpoint:
/proxy?url=<your_encoded_url>
Replace <your_encoded_url> with the URL-encoded version of the website you want to fetch.
Example using JavaScript:
const url = 'https://example.com';
const proxyUrl = `/proxy?url=${encodeURIComponent(url)}`;
fetch(proxyUrl)
.then(response => response.text())
.then(html => console.log(html))
.catch(error => console.error('Error:', error));
Download Live Example