Stream: finnish PHR
Topic: server response
Lauri Karppinen (Oct 12 2018 at 12:11):
Hi! I used to get response from server(http://fhirsandbox.kanta.fi/phr-resourceserver/) as JSON. Now I can only get response as HTML. Did I mess up some setting or is there something changed at server? When I try to change to JSON I get error message: "Could not beautify".
Eeva Turkka (Oct 12 2018 at 12:15):
We'll have to check the configuration about the default response encoding, it is supposed to be json. However, this works fine: http://fhirsandbox.kanta.fi/phr-resourceserver/baseStu3/Observation?patient=91db836a-b62a-49af-8e7a-a94ed90a41d5&_format=json (you can copy-paste the request and test yourself). More info about the html-problem would be helpful!
Lauri Karppinen (Oct 12 2018 at 12:25):
Thanks for the fast response. It was a mistake in my settings. No need to check configurations. Thanks!
Last updated: Apr 12 2022 at 19:14 UTC