Closed Fieel closed 6 years ago
Even tho there isn't any reply yet it looks like the normal URL works.
//not working https://api.nasa.gov/planetary/apod/direct?date=2015-06-03&api_key=DEMO_KEY
//working https://api.nasa.gov/planetary/apod?date=2015-06-03&api_key=DEMO_KEY
So i just used the normal URL.
Hello,
Apparently, CORS support for the APOD API isn't working anymore. It should've been fixed, see this previous issue report: https://github.com/nasa/api-docs/issues/37#issuecomment-108530992
But if you try to request this URL, for example:
https://api.nasa.gov/planetary/apod?date=2015-06-03&api_key=DEMO_KEY
you get this response:
{ "code": 500, "msg": "Sorry, unexpected error: must be str, not NotFound", "service_version": "v1" }
In my case i simply wanted to allow the users of my app to download the APOD picture with a button if they like it.