finnhubio / Finnhub-API

Finnhub API provides institutional-grade financial data to investors, fintech startups and investment firms. We support real-time stock price, global fundamentals and alternative data. https://finnhub.io/docs/api
97 stars 6 forks source link

Cors Error #286

Open me1k opened 4 years ago

me1k commented 4 years ago

Hi,

i have a problem with CORS. I always get the error:

Access to fetch at 'https://finnhub.io/api/v1/quote?symbol=MSFT&token=mytoken' from origin 'http://localhost:8080' has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response.

How can i fix this?

chaschev commented 4 years ago

Any progress on this one?

rnschulenburg commented 4 years ago

Any progress here?

me1kkkk commented 3 years ago

No nothing until now

Tomino2112 commented 3 years ago

FYI I have the same (CORS) issue when using the X-Finnhub-Token header, but using the &token query param seems to work

dan-cooke commented 3 years ago

Would appreciate some updates on this, having to resort to proxying my requests through a server entirely for this purpose

moondos commented 3 years ago

same issue, need a help

tevels commented 1 year ago

same here, any workaround ?

SirBattle3 commented 1 year ago

same here, any workaround ?

Sending the request without a header worked for me.

mark-buhagiar commented 2 months ago

I get that @finnhubio have completely ignored this issue for voer 4 years now... but are they planning on ever resolving this?