hapi-fhir/example-projects/hapi-fhir-jaxrs-sse
James Agnew 0de0b88aa0
Fix TestpageOverlay XSS Vulnerability (#2027)
* Resolve XSS vulnerability

* Add changelog
2020-08-09 07:06:11 -04: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 Fix TestpageOverlay XSS Vulnerability (#2027) 2020-08-09 07:06:11 -04: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