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:
Gered 2014-07-04 19:02:49 -04:00
parent e27640e30a
commit 455934cde5

View file

@ -61,6 +61,6 @@
(str)))
(defn http-get-json [url]
(-> (http/get url)
(-> (http/get url {:accept "application/json+fhir"})
:body
(json/parse-string true)))