api-server icon indicating copy to clipboard operation
api-server copied to clipboard

OperationOutcome does not honor Accept header

Open p2 opened this issue 9 years ago • 0 comments

I noticed our API server doesn't honor Accept: application/json+fhir and just returns an XML formatted OperationOutcome.

To replicate using HTTPie:

http https://fhir-api-dstu2.smarthealthit.org/Patient family==Argonaut given==Jason Authorization:"Bearer xOoZyp" Accept:application/json+fhir

p2 avatar Mar 10 '16 17:03 p2