Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://developer.nps.gov/api/v1/events CORS ERROR #6

Open
JoshuaMichaelHanson opened this issue Dec 4, 2024 · 0 comments
Open

https://developer.nps.gov/api/v1/events CORS ERROR #6

JoshuaMichaelHanson opened this issue Dec 4, 2024 · 0 comments

Comments

@JoshuaMichaelHanson
Copy link

Hello when using the API the https://developer.nps.gov/api/v1/parks endpoint works fine while
https://developer.nps.gov/api/v1/events gives a CORS errror

(Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

Seems this might be a server configuration issue. Calling from a React 18 application. Can setup a backend proxy but that is not on my list right now. Only tried the 2 endpoints will let you know if there are others. Maybe its something to do with my Production deployment since it works locally just not when deployed to the VPS. Might be on my end but from what I have read seems on the API server end.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant