hapi-fhir/hapi-fhir-tutorial/simple-server/scripts/example3_create.txt

2 lines
213 B
Plaintext

curl -H "Content-Type: application/xml+fhir" -X POST -d '<Patient xmlns="http://hl7.org/fhir"><name><family value="Fireman"/><given value="John"/></name></Patient>' "http://localhost:8080/example03/Patient"