Stream: implementers
Topic: POSTing to Binary
Silvia Lillie (Nov 30 2018 at 11:27):
What format should the response be if a file was POSTed to the Binary resource?
We want to create an API where consumers can send the file as a binary stream rather than use a FHIR Binary resource with base64 content.
The question is: how can the File ID be returned back to the API consumer?
What we would like to avoid is the Binary resource being sent back, as there is no need to the data to travel back (and in a different format), when the user requirement is just to have the file ID so that they can GET that file again.
Grahame Grieve (Nov 30 2018 at 20:28):
this is found here: http://build.fhir.org/binary.html#rest
Grahame Grieve (Nov 30 2018 at 20:28):
with regard to the id, that comes back in the Location header, so no need to return the full binary
Last updated: Apr 12 2022 at 19:14 UTC