HL7 FHIR spec actually only requires that servers use the HTTP request "Accept" header to determine response content encoding format
This commit is contained in:
parent
e27640e30a
commit
455934cde5
|
@ -61,6 +61,6 @@
|
||||||
(str)))
|
(str)))
|
||||||
|
|
||||||
(defn http-get-json [url]
|
(defn http-get-json [url]
|
||||||
(-> (http/get url)
|
(-> (http/get url {:accept "application/json+fhir"})
|
||||||
:body
|
:body
|
||||||
(json/parse-string true)))
|
(json/parse-string true)))
|
Reference in a new issue