Stream: bulk data
Topic: content-types
Josh Mandel (Jan 28 2018 at 19:18):
@Nagesh Bashyam
curl -H "Accept: application/fhir+json" http://52.70.192.201/open-fhir/fhir/metadata
returns XML but should return JSON.
Josh Mandel (Jan 28 2018 at 19:24):
@Dennis Patterson
$ curl -H 'Accept: application/fhir+json' 'https://fhir-open.stagingcerner.com/stu3/a758f80e-aa74-4118-80aa-98cc75846c76/Patient/$everything' The Accept type is invalid. See the documentation on the fhir.cerner.com website for acceptable format values for the resource you are attempting to access.
... I can't find anything it'll accept.
Nagesh Bashyam (Jan 28 2018 at 19:37):
@Nagesh Bashyam
curl -H "Accept: application/fhir+json" http://52.70.192.201/open-fhir/fhir/metadata
returns XML but should return JSON.
Will default to json ..
Dennis Patterson (Jan 28 2018 at 19:40):
@Josh Mandel It should work with application/fhir+ndjson
Josh Mandel (Jan 28 2018 at 20:06):
Gotcha @Dennis Patterson - are you planning to change this to work with application/fhir+json
?
Dennis Patterson (Jan 28 2018 at 20:09):
working on it!
Last updated: Apr 12 2022 at 19:14 UTC