Closed BadiiBoukalane closed 5 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
please try it again.
solved now
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