hapi-fhir/example-projects/hapi-fhir-jaxrs-sse
patrick-werner c2b2a7eaa7 added missing CORS Headers for Test Setup 2018-06-11 11:09:23 +02:00
..
src ‘Spring cleaning …. ‘ 2017-03-07 22:45:49 +01:00
README.md Create README.md 2017-03-07 23:00:26 +01:00
pom.xml added missing CORS Headers for Test Setup 2018-06-11 11:09:23 +02:00

README.md

This example sets up a FHIR server that can ship out Server-sent events using standard Jersey 2.x components. Start up the server and eg. issue the following curl request 'curl -v -X GET http://localhost:8080/Patient/listen'. The will block curl and once any events are shipped to the server, they will automatically be sent to the curl client.

Changes can be sent to the server on localhost:8080/Patient which accepts any kind of patients that has at least one identifier.

Voila