ClevelandMuseumArt / openaccess

Creative Commons Zero v1.0 Universal
72 stars 9 forks source link

CORS header response should be changed to allow cross-origin responses #3

Closed JustinGOSSES closed 5 years ago

JustinGOSSES commented 5 years ago

CORS header response should be changed to allow cross-origin responses.

Right now you can't fetch data from the API from an url like https://thisIsNotTheCMAbutIBuiltThisCoolThingWithTheirData.com This prevents people from building websites that call your API directly.

Example: https://beta.observablehq.com/@justingosses/cleveland-museum-of-art-api-test-yard-1

How to fix: https://enable-cors.org/index.html

JustinGOSSES commented 5 years ago

Fixed! Thank you

beogip commented 2 years ago

Hi, I'm experiencing CORS issues. Three days ago was everything working

saxenanurag commented 2 years ago

Hello @beogip Can you please share the error you are getting? Any other data, such as the URL that you are trying to access, will be helpful. Thank you.