Using React and Axios, join proxy link to the URL and add header as shown below
https://cors-anywhere.herokuapp.com/
+ Your API URL
Just by adding the Proxy link will work, but it can also throw error for No Access again. Hence better to add header as shown below.
axios.get(`https://cors-anywhere.herokuapp.com/[YOUR_API_URL]`,{headers: {'Access-Control-Allow-Origin': '*'}})
.then(response => console.log(response:data);
}
This is just a quick fix, if you're struggling with why you're not able to get a response, you CAN use this. But again it's not the best answer for production.
Got several downvotes and it completely makes sense, I should have added the warning a long time ago.