EEXCESS / recommender

EEXCESS stands for: Enhancing Europe’s eXchange in Cultural Educational and Scientific reSources and is funded by the EU under GA No. 600601
http://eexcess.eu/
3 stars 4 forks source link

[API flaw] 'Access-Control-Allow-Origin' header not sent on getDetails call #15

Closed n-witt closed 9 years ago

n-witt commented 9 years ago

I'm trying to receive details for an given eexcess object using the the APIconnector (see: https://github.com/EEXCESS/c4/blob/master/APIconnector.js#L85), but get an "500 Internal Server Error". In the error details I find this: "No 'Access-Control-Allow-Origin' header is present on the requested resource" The corresponding recommendation call (see: https://github.com/EEXCESS/c4/blob/master/APIconnector.js#L48) works perfectly fine.

Maybe the Server is just not sending the correct headers for the details call?

n-witt commented 9 years ago

The problem was on the client side.