nasa / api-docs

api.nasa.gov
http://nasa.github.io/api-docs/
451 stars 109 forks source link

No CORS support for EPIC API. #100

Closed BadiiBoukalane closed 5 years ago

BadiiBoukalane commented 6 years ago

Hi all,

Apparently, CORS support for the EPIC API isn't working or not permitted yet.

If i try to reach this URL, for example:

https://api.nasa.gov/EPIC/api/natural?api_key=myKey (that i got earlier and working fine with the APOD API)

I get this response:

Failed to load https://epic.gsfc.nasa.gov/archive/natural/2015/10/31/png/epic_1b_20151031074844.png: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:52764' is therefore not allowed access.

Am i getting something wrong?

Thank you for your help

jasonduley commented 6 years ago

please try it again.

JustinGOSSES commented 5 years ago

solved now