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

CORS issue when accessing the rest api in javascript #4

Open
memezilla opened this issue Dec 11, 2014 · 2 comments
Open

CORS issue when accessing the rest api in javascript #4

memezilla opened this issue Dec 11, 2014 · 2 comments

Comments

@memezilla
Copy link

I got the following error when i made requests to api using jquery.

XMLHttpRequest cannot load http://www.peacecorps.gov/api/v1/geography/countries/?current=true&suspended=false. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:63342' is therefore not allowed access.

@sshami
Copy link
Contributor

sshami commented Dec 11, 2014

Thanks for bringing this to our attention. We are looking at enabling CORS for the API and will notify when that’s implemented.

@sshami
Copy link
Contributor

sshami commented Jan 28, 2015

CORS is now enabled for the API.

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

2 participants