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** #