我想在我的应用程序中使用HAPI FHIR结构。我的应用程序是一个spring-boot应用程序。
代码:
@RequestMapping(value = "{fhirVersion}/$transaction", method = RequestMethod.POST)
public String execute(@RequestBody Bundle bundle,@PathVariable String fhirVersion) {
return "";
}
错误:
{
"timestamp": "2018-04-03T15:06:51.279+0000",
"status": 415,
"error": "Unsupported Media Type",
"message": "Content type 'application/json;charset=UTF-8' not supported",
"path": "/dstu3/$transaction"
}
请您告诉我这是如何实现的?
由于