From 7851918697cd5d75b33c17f0e88238904da66a79 Mon Sep 17 00:00:00 2001 From: Cornelia Michlits <cornelia.michlits@tuwien.ac.at> Date: Thu, 3 Feb 2022 19:43:58 +0000 Subject: [PATCH] Update README.md Former-commit-id: fb2c81fb59c4eabe29543b7419c7bfaf33cd765b --- fda-units-service/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fda-units-service/README.md b/fda-units-service/README.md index bae9730ad3..da7b0ba16e 100644 --- a/fda-units-service/README.md +++ b/fda-units-service/README.md @@ -74,9 +74,11 @@ Content-Type: application/json Host: localhost:5010 Content-Length: 24 +```JSON { "ustring": "metre" } +``` Respose: true / false @@ -89,10 +91,12 @@ Content-Type: application/json Host: localhost:5010 Content-Length: 97 +```JSON { "name": "metre", "uri": "http://www.ontology-of-units-of-measure.org/resource/om-2/metre" } +``` The response is a postgres status message, e.g., @@ -107,12 +111,14 @@ Content-Type: application/json Host: localhost:5010 Content-Length: 122 +```JSON { "cdbid": "1", "cid": "1", "tid": "1", "uri": "http://www.ontology-of-units-of-measure.org/resource/om-2/metre" } +``` The response is a postgres status message, e.g., -- GitLab