From 288cf6386d5d5c1b89ac1791a013c8ffa38eb795 Mon Sep 17 00:00:00 2001 From: djoumbou Date: Thu, 10 Jul 2014 04:12:01 +0000 Subject: [PATCH] README.md edited online with Bitbucket --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 604f76e..a994535 100644 --- a/README.md +++ b/README.md @@ -46,10 +46,18 @@ > > > >###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/ +> > >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### +> > +> >**/queries/{query_id}** +> > > > 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** #