Stream: implementers
Topic: Posting a Bundle to [baseURL]/Binary/$validate?
Stefan Lang (Oct 27 2017 at 17:01):
On https://www.hl7.org/fhir/documents.html#bundle , Section 2.23.4, it is stated that a Bundle posted to [baseURL]/Binary will be treated as-is (i.e. it will simply become a Binary).
What is the expected behaviour for the $validate operation in this context?
As in: posting a Bundle to [baseURL]/Binary/$validate
Stefan Lang (Oct 27 2017 at 17:23):
Since I could not find any details on that, it might be anything from a 200 ("Just throw anything at me, I'll take it") to a 500 ("This is so wrong, I can't handle it").
Grahame Grieve (Oct 27 2017 at 20:41):
just looked and I'll 200 OK anything.But it must have a content type....
Stefan Lang (Oct 28 2017 at 06:59):
Supposedly to treat it as a Binary resource internally, consisting of the HTTP content-type header plus the actual posted data?
Grahame Grieve (Oct 28 2017 at 09:10):
yes but you might get it as a pure FHIR resource too
Last updated: Apr 12 2022 at 19:14 UTC