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