Skip to content
Snippets Groups Projects
Commit 78519186 authored by Cornelia Michlits's avatar Cornelia Michlits
Browse files

Update README.md

Former-commit-id: fb2c81fb
parent 8d38be1d
No related branches found
No related tags found
1 merge request!42Fixed the query service tests
...@@ -74,9 +74,11 @@ Content-Type: application/json ...@@ -74,9 +74,11 @@ Content-Type: application/json
Host: localhost:5010 Host: localhost:5010
Content-Length: 24 Content-Length: 24
```JSON
{ {
"ustring": "metre" "ustring": "metre"
} }
```
Respose: true / false Respose: true / false
...@@ -89,10 +91,12 @@ Content-Type: application/json ...@@ -89,10 +91,12 @@ Content-Type: application/json
Host: localhost:5010 Host: localhost:5010
Content-Length: 97 Content-Length: 97
```JSON
{ {
"name": "metre", "name": "metre",
"uri": "http://www.ontology-of-units-of-measure.org/resource/om-2/metre" "uri": "http://www.ontology-of-units-of-measure.org/resource/om-2/metre"
} }
```
The response is a postgres status message, e.g., The response is a postgres status message, e.g.,
...@@ -107,12 +111,14 @@ Content-Type: application/json ...@@ -107,12 +111,14 @@ Content-Type: application/json
Host: localhost:5010 Host: localhost:5010
Content-Length: 122 Content-Length: 122
```JSON
{ {
"cdbid": "1", "cdbid": "1",
"cid": "1", "cid": "1",
"tid": "1", "tid": "1",
"uri": "http://www.ontology-of-units-of-measure.org/resource/om-2/metre" "uri": "http://www.ontology-of-units-of-measure.org/resource/om-2/metre"
} }
```
The response is a postgres status message, e.g., The response is a postgres status message, e.g.,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment