Skip to content

ConchbrainClub/CorsProxy

Repository files navigation

CorsProxy

Conchbrain club offical CorsProxy

Cross-origin Resource Sharing Proxy Service

Usage

Api: https://cors.conchbrain.club

Method: GET

Para: Proxy address (eg. https://www.conchbrain.club)

CORS

fetch("https://www.conchbrain.club/").then((res)=>{
    res.text().then((data)=>{
        console.log(data);
    });
});

Result: Access to fetch at 'https://www.conchbrain.club/' from origin 'http://example.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

UseProxy

fetch("https://cors.conchbrain.club?https://www.conchbrain.club/").then((res)=>{
    res.text().then((data)=>{
        console.log(data);
    });
});

Result: Response Successful