OpenConceptLab / ocl_issues

Issues for all OCL repos. NOTE: Install ZenHub Browser Extension and request access to the OCL Roadmap board to view all issues and to contribute
4 stars 2 forks source link

Unable to convert FHIR API response to XML #1954

Closed paynejd closed 1 month ago

paynejd commented 1 month ago

Request:

curl --location --request GET 'https://fhir.openconceptlab.org/fhir/CodeSystem' --header 'Accept: application/xml'

Response:

"Error parsing JSON source: Unexpected content at start of JSON at Line 2 (path=[null])"%  

I reproduced this error on QA as well

paynejd commented 1 month ago

False alarm! Closing this out. This request is just missing the trailing slash. This works perfectly:

curl --location --request GET 'https://fhir.openconceptlab.org/fhir/CodeSystem/' --header 'Accept: application/xml'