Skip to content

Commit

Permalink
query for taxa
Browse files Browse the repository at this point in the history
  • Loading branch information
Adafede committed Nov 22, 2023
1 parent eed2fd0 commit 5a7901c
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions doc/example_queries.http
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,33 @@
# -H 'accept: application/json'
# -H 'Content-Type: application/json'
# -d '{
# "molecule": "CC1C=C(C(=O)C2(C1CC3C4(C2C(=O)C(=C(C4CC(=O)O3)C)OC)C)C)OC ",
# "similarity_level": 1,
# "substructure_search": false}'
# "molecule": "CC1C=C(C(=O)C2(C1CC3C4(C2C(=O)C(=C(C4CC(=O)O3)C)OC)C)C)OC",
POST http://127.0.0.1:5000/v1_0/structures
accept: application/json
Content-Type: application/json

{
"molecule": "CC1C=C(C(=O)C2(C1CC3C4(C2C(=O)C(=C(C4CC(=O)O3)C)OC)C)C)OC ",
"similarity_level": 1,
"substructure_search": false
"molecule": "CC1C=C(C(=O)C2(C1CC3C4(C2C(=O)C(=C(C4CC(=O)O3)C)OC)C)C)OC"
}

###

# curl -X 'POST'
#
# 'http://127.0.0.1:5000/v1_0/taxa'
#
# -H 'accept: application/json'
# -H 'Content-Type: application/json'
# -d '{
# "taxon_name": "Gentianopsis"
#}'
POST http://127.0.0.1:5000/v1_0/taxa
accept: application/json
Content-Type: application/json

{
"taxon_name": "Gentianopsis"
}

###

0 comments on commit 5a7901c

Please sign in to comment.