I am not able to fetch data from node.js app.

Avatar image for wafcio
wafcio

11

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

When I call endpoint to fetch issues I am receiving:

XMLHttpRequest cannot load http://comicvine.gamespot.com/api/issues/?format=json&api_key=... . No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.

After I set Access-Control-Allow-Origin then OPTIONS request is sent before GET. Unfortunately OPTIONS request sin't supported by API server.