I am hitting API provided by data vendor in my React Application through axios, backend is not in my control but when access data it shows me an access control error. I have used the proxy https://cors-anywhere.herokuapp.com/ but still getting 403 forbidden error, API I am hitting is 'https://api.capitalstake.com/2.0/market/historical?symbol=TRG&from=2021-06-01&to=2021-09-30'
and using axios.defaults.headers= {'Authorization': 'Bearer bmV4dGNhcCAzZDIyYzNlY2JmZWM4OTVlZGY2MGM2ZmM5MGJhOTc0OA==', withCredentials: true,}
in my index.js
Is there any way to solve it through FrontEnd