mercredi 22 avril 2015

API call gives errors on headers

I've got an API from an organisation and it isn't working at all. When I do the request it gives this error in the console:

The 'Access-Control-Allow-Origin' header contains multiple values 'http://localhost:8888, http://localhost:8888', but only one is allowed. Origin 'localhost:8888' is therefore not allowed access.

Does anyone know how I can solve this problem?

Aucun commentaire:

Enregistrer un commentaire