Ask a Question
Back to All

Cors error

I am trying to hit token market history api from localhost, its giving CORS error.

Access to fetch at 'https://api.dev.dex.guru/v1/chain/137/tokens/0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619/market/history?begin_timestamp=1588723228' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.