CORS for web browsers

Home Forums LOINC FHIR Terminology Server CORS for web browsers

Viewing 2 posts - 1 through 2 (of 2 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.

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