CORS for web browsers

Home Forums LOINC FHIR Terminology Server CORS for web browsers

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #444060
    Jorge Lanzarotti
    Participant

    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!

    #454487
    Michael Lawley
    Participant

    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.

    #474128
    Mohammad Anas
    Participant

    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.

    #474169
    Tim Briscoe
    Keymaster

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.