In the process of teaching myself d3.js, which is an awesome library, I used the Europeana REST API in a small project:
http://www.europeana-d3.infoI realized recently that it stopped working, and the error said something about the Access-Control-Allow-Origin header was missing. After an hour or so of trying to set the header, I realized that my older working code had this...
var url = "
https://europeana.eu/api/v2/search.json?query=...
when it needed to be this...
var url = "https://
www.
europeana.eu/api/v2/search.json?query=...
And as soon as I added "www" it started to work again. I'm pretty sure I copied the original query syntax from an example, so it is possible that others did too. Just a heads-up.
Steve