pancakeswap/pancake-info-api

API request give CORS error

Halder68 opened this issue · 8 comments

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

Same issue with me.

Same issue here, can you help us @ChefKai ?

same here

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

Hello all, I am also suffering from the same issue. It had been working well until around 1 week ago.
Does anyone figure out what is happening? It seems pancakeswap has blocked cros access.
Screen Shot 2021-12-14 at 12 45 58

Same issue here.

I used the cors plugin of chrome, the cors testing is passed, but nothing change here.