From a2e0d221bf5a2bd3456be2b83de01e6a801b4220 Mon Sep 17 00:00:00 2001 From: djoumbou Date: Thu, 10 Jul 2014 22:56:22 +0000 Subject: [PATCH] README.md edited online with Bitbucket --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 30aa3d7..25bc9ee 100644 --- a/README.md +++ b/README.md @@ -47,15 +47,15 @@ > > > >###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 -is http://localhost:3000/queries.json -X POST -d '{"label":"curl_test","query_input":"MOL1,CCCOCC\nMOL2,COCC=CCCC"}' -H "Content-Type: application/json" > > > >where the parameters are: > > > > >The query label: curl_test, > > > -> > >The entity identifier: ID1, +> > >The entity identifiers: ID1,ID2 > > -> > >The entity's structure represented in the SMILES format: C(=O)O. +> > >The entity's structure represented in the SMILES format: CCCOCC and COCC=CCCC. > > > >###GET### > >