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

Add CORS support for GWAS #801

Open
haideriqbal opened this issue Nov 13, 2024 · 0 comments
Open

Add CORS support for GWAS #801

haideriqbal opened this issue Nov 13, 2024 · 0 comments
Assignees

Comments

@haideriqbal
Copy link
Collaborator

Request details:

For context, we have been developing an online validator for one of our type of data files which contains EFO terms we need to validate using the OLS REST api (example of request: https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms?obo_id=EFO:0001645). It works perfectly when using the validator on a local computer, but from a server, the request gets rejected with a CORS error:

```https://www.ebi.ac.uk/ols/api/ontologies/efo/terms?obo_id=EFO:0001645' from origin '[https://pgscatalog.org](https://validate-dot-pgs-catalog.appspot.com/)' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant