summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <ch@in-silico.ch>2009-08-14 13:25:44 +0200
committerChristoph Helma <ch@in-silico.ch>2009-08-14 13:25:44 +0200
commitccc67b22ef3f77c8537ff72cb34c678fe3cb7e89 (patch)
tree16a0c69c68547b0e7d87a47189ca321f14796b66
parentd9bd72ffa304257191b611dc2ad86cf3365bd77f (diff)
URIs in README updated
-rw-r--r--README12
1 files changed, 6 insertions, 6 deletions
diff --git a/README b/README
index eb09cc3..a6047d5 100644
--- a/README
+++ b/README
@@ -7,7 +7,7 @@ OpenTox Compounds
* Implements a subset of the OpenTox compounds API (http://opentox.org/wiki/opentox/Structure).
-* Runs at http://webservices.in-silico.ch/compounds
+* This version runs at http://webservices.in-silico.ch/compound/v0
REST API
@@ -37,23 +37,23 @@ EXAMPLES
Create an URI for Benzene:
- curl -X POST name=Benzene http://webservices.in-silico.ch/compounds
+ curl -X POST name=Benzene http://webservices.in-silico.ch/compound/v0
Create an URI for Benzene from the Smiles string:
- curl -X POST smiles='c1ccccc1' http://webservices.in-silico.ch/compounds
+ curl -X POST smiles='c1ccccc1' http://webservices.in-silico.ch/compound/v0
Get all synonyms for benzene:
- curl http://webservices.in-silico.ch/compounds/c1ccccc1.names
+ curl http://webservices.in-silico.ch/compound/v0/c1ccccc1.names
Get the SDF File:
- curl http://webservices.in-silico.ch/compounds/c1ccccc1.sdf
+ curl http://webservices.in-silico.ch/compound/v0/c1ccccc1.sdf
Can we find a nitrogen in benzene?
- curl http://webservices.in-silico.ch/compounds/c1ccccc1/match/N
+ curl http://webservices.in-silico.ch/compound/v0/c1ccccc1/match/N
Please make sure that smarts strings are URI encoded!