README.md edited online with Bitbucket
This commit is contained in:
parent
1c92eb5279
commit
288cf6386d
10
README.md
10
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** #
|
||||
|
|
Loading…
Reference in New Issue