From 1c92eb5279018e8ae6c59897ec67089ebccd1592 Mon Sep 17 00:00:00 2001 From: djoumbou Date: Thu, 10 Jul 2014 04:01:56 +0000 Subject: [PATCH] README.md edited online with Bitbucket --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 17c3592..604f76e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ # **Endpoints** # > ##1. Entity## -> > +> > >Chemical compounds are represented by the Entity model, through which one can access the compound's structure-based classification. > > > >###GET### @@ -39,15 +39,15 @@ > ##2. Query## -> >The Query model represents a list of chemical structures to be classified. Its attributes are the query label and the query input. +> +> >The Query model represents the chemical structure to be classified. Its attributes are the query label and the query input. > >*The query label is an identifier -> >* The query input contains a list of structures represented in the [Daylight SMILES](http://www.daylight.com/dayhtml/doc/theory/theory.smiles.html) or the [InChI](http://www.iupac.org/home/publications/e-resources/inchi.html) format. Each line contains a structure representation preceded by a compound identifier(optionally), if available. - - +> >* The query input contains the compound's identifier (optional) and its structural representation, separated by a comma. The chemical structure is represented either in the [Daylight SMILES](http://www.daylight.com/dayhtml/doc/theory/theory.smiles.html) or the [InChI](http://www.iupac.org/home/publications/e-resources/inchi.html) format. +> > > >###POST### > >A query can be submitted using the POST method as demonstrated in the following example. -> > > - +> > >curl -d "query[label]=curl_test&query[query_input]=ID1,C(=O)O&submit=Submit query" http://classyfire.wishartlab.com/queries/ +> > > >###GET### > > The classification results can be retrieved via a GET method.