README.md edited online with Bitbucket

This commit is contained in:
djoumbou 2014-07-10 04:12:01 +00:00
parent 1c92eb5279
commit 288cf6386d
1 changed files with 9 additions and 1 deletions

View File

@ -46,10 +46,18 @@
> > > >
> >###POST### > >###POST###
> >A query can be submitted using the POST method as demonstrated in the following example. > >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/ > > >curl -d "query[label]=curl_test&query[query_input]=ID1,C(=O)O&submit=Submit query" "http://classyfire.wishartlab.com/queries/"
> >where the parameters are:
> >*The query label: curl_test
> >*The entity identifier: ID1
> >*The entity's structure represented in the SMILES format: C(=O)O
> > > >
> >###GET### > >###GET###
> >
> >**/queries/{query_id}**
> >
> > The classification results can be retrieved via a GET method. > > The classification results can be retrieved via a GET method.
> > >curl -H "Accept: application/json" -H "Content-Type: application/json" -X GET "http://localhost:3000/queries/88.json"
# **Directory Structure** # # **Directory Structure** #