Advertisement
Guest User

Untitled

a guest
Sep 20th, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. echo '
  2. {
  3. "person":{"uuid":"707ed494-22fe-43cd-9751-0c39242b741b"},
  4. "obsDatetime":"2012-09-19T00:00:00.000+0530",
  5. "concept":{"uuid":"2f098028-153a-4f30-bcef-bd62fa01255b"},
  6. "location":{"uuid":"8d6c993e-c2cc-11de-8d13-0010c6dffd0f"},
  7. "encounter":{"uuid":"e585bd32-3e43-4391-81b7-9ff575225671"},
  8. "value":"no problem"
  9. }
  10. ' | curl -i -H "Content-type: application/json" -X POST -d @- https://localhost:8443/openmrs/ws/rest/v1/obs -k -b cookies.txt -3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement