markitondemand / DEPRECATED-DataApis

Markit On Demand - Market Data APIs
http://dev.markitondemand.com
MIT License
178 stars 68 forks source link

adding 'Access-Control-Allow-Origin'? #49

Closed xitongzou closed 7 years ago

xitongzou commented 7 years ago

I'm getting CORS errors when I request data from the API

No 'Access-Control-Allow-Origin' header is present on the requested resource.

... is it possible to allow XHRs from other domains by setting this on the server end? Or is there an alternate way to request this data without getting this error (I'm using Fetch API). Thanks!