From dd5e917e9113cf8e74948e10539c35d66c985904 Mon Sep 17 00:00:00 2001 From: djoumbou Date: Wed, 9 Jul 2014 23:07:39 +0000 Subject: [PATCH] README.md edited online with Bitbucket --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index cb71833..b0ae02b 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,16 @@ # **Endpoints** # +> ## Entities +> /entities +> > GET +> > > You can retrieve a chemical compound's classification in the JSON or XML format. The compound's information is accessed via the InChIkey as show in the following examples. In this example, the entity has the InChIKey=LABTWGUMFABVFG-ONEGZZNKSA-N. +> > > +> > > curl -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:3000/entities/LABTWGUMFABVFG-ONEGZZNKSA-N.json +> > > +> > > curl -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://localhost:3000/entities/LABTWGUMFABVFG-ONEGZZNKSA-N.json + + # **Directory Structure** # * lib