REQUEST curl 'http://localhost:8080/openmrs/ws/rest/v1/obs' -H 'Origin: http://localhost:8080' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36' -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryBj85Rr5AJmDMeVMC' -H 'Accept: application/json, text/plain, */*' -H 'Referer: http://localhost:8080/openmrs/labtrackingapp/labtrackingOrderDetails.page?orderUuid=0c74c795-1dd0-410d-9970-db2267e49f72' -H 'Cookie: JSESSIONID=1me48y4nukvve; emr.lastSessionLocation=34; __openmrs_language=en_US' -H 'Connection: keep-alive' --data-binary $'------WebKitFormBoundaryBj85Rr5AJmDMeVMC\r\nContent-Disposition: form-data; name="json"\r\n\r\n{"person":"6c7ffd68-8d0f-4868-bb90-1284a0cdbe8c","obsDatetime":"2017-01-21T17:28:38.478-0500","concept":"1124baab-6fb8-4f5d-a131-0ee09cccc87d"}\r\n------WebKitFormBoundaryBj85Rr5AJmDMeVMC\r\nContent-Disposition: form-data; name="file"; filename="Libero_defense specialistworkout.pdf"\r\nContent-Type: application/pdf\r\n\r\n\r\n------WebKitFormBoundaryBj85Rr5AJmDMeVMC--\r\n' --compressed RESPONSE: {"uuid":"6e9d3603-d3aa-495f-8f57-7bee90c124a2","display":"JoeTest20170120: file_02.file file","concept":{"uuid":"1124baab-6fb8-4f5d-a131-0ee09cccc87d","display":"JoeTest20170120","links":[{"uri":"http://localhost:8080/openmrs/ws/rest/v1/concept/1124baab-6fb8-4f5d-a131-0ee09cccc87d","rel":"self"}]},"person":{"uuid":"6c7ffd68-8d0f-4868-bb90-1284a0cdbe8c","display":"22222222222 - Jack Test","links":[{"uri":"http://localhost:8080/openmrs/ws/rest/v1/patient/6c7ffd68-8d0f-4868-bb90-1284a0cdbe8c","rel":"self"}]},"obsDatetime":"2017-01-21T17:28:38.000-0500","accessionNumber":null,"obsGroup":null,"valueCodedName":null,"groupMembers":null,"comment":null,"location":null,"order":null,"encounter":null,"voided":false,"value":{"display":"raw file","links":{"rel":"self","uri":"http://localhost:8080/openmrs/ws/rest/v1/obs/6e9d3603-d3aa-495f-8f57-7bee90c124a2/value"}},"valueModifier":null,"links":[{"uri":"http://localhost:8080/openmrs/ws/rest/v1/obs/6e9d3603-d3aa-495f-8f57-7bee90c124a2","rel":"self"},{"uri":"http://localhost:8080/openmrs/ws/rest/v1/obs/6e9d3603-d3aa-495f-8f57-7bee90c124a2?v=full","rel":"full"}],"resourceVersion":"1.8"}