CORS for web browsers

Hi, thanks for FHIR server, it is very interesting.

I have problem with CORS, Postman queries work perfectly, but when doing them from a web browser the server returns CORS issue.

For example, google chrome:

Access to XMLHttpRequest at https://fhir.loinc.org/Questionnaire/85762-3 from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I'm using this with AXIOS https://github.com/axios/axios

Any chance the server can be configure CORS? Thanks!

I too would love it if the server had CORS support as it would allow our FHIR terminology browser https://ontoserver.csiro.au/shrimp to access the content.

I’m too facing the same issue. Can we have CORS support. I’m not able to get any loinc API response as it gets blocked by CORS in my Angular app.

Thank you for your patience in this matter. As a pilot program, we will invite users to register their app with LOINC to gain access to CORS for their domain(s). A follow-up to this post will be made here once the registration process has been established.