API request give CORS error
Halder68 opened this issue · 8 comments
Halder68 commented
Hi Guys,
Since yesterday I receive CORS errors at fetching of token price with the following message:
No 'Access-Control-Allow-Origin' header is present ...
Everything worked flawlessly before and nothing has changed my side.
Has anything changed with the API access? Has the number of requests been limited?
Thanks
anasshad commented
Same issue with me.
ugwusomto commented
same here
ugwusomto commented
Guys, try making the request. from a server, you control and can set cors headers
In your server --- make a request to pancakeswap fetch the data and return it to your front end
In your front end --- Make a request to your own API
ugwusomto commented
happyeric77 commented
amber0515 commented
Same issue here.
amber0515 commented
I used the cors plugin of chrome, the cors testing is passed, but nothing change here.