opendataConcordiaU / documentation

Documentation and examples on the use of Concordia University open data API
36 stars 4 forks source link

Enable CORS? #9

Closed huntertran closed 2 years ago

huntertran commented 4 years ago

I'm getting CORS error when consuming the API from my site

Access to fetch at 'https://opendata.concordia.ca/API/v1/facilities/buildinglist/' from origin 'https://my_site' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

usamasaleem1 commented 1 year ago

Same here. Any luck?