Skip to content

This is a mini project - an application that consumes a simple REST API to store and retrieve three data fields(title, author, description). It also features an interface that can be used to easily perform these operations of storage and retrieval, using this API.

Notifications You must be signed in to change notification settings

Inconsistency/TeachForIndia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeachForIndia

This is a mini project - an application that consumes a simple REST API to store and retrieve three data fields(title, author, description). It also features an interface that can be used to easily perform these operations of storage and retrieval, using this API.

http://teach.sarincasm.com

Using the API:

To add new records -

a) PUT /put HTTP/1.1

Host: teachforsarincasm.com

Content-Type: application/x-www-form-urlencoded

title=inser-title&author=insert-author&description=insert-description

b) To retrieve records -

  1. To fetch the complete data from the database

POST /get HTTP/1.1

Host: teach.sarincasm.com

  1. To fetch data with a word in the title

POST /get/title/keyword HTTP/1.1

Host: teach.sarincasm.com

  1. To fetch data about a particular author

POST /get/author/keyword HTTP/1.1

Host: teach.sarincasm.com

About

This is a mini project - an application that consumes a simple REST API to store and retrieve three data fields(title, author, description). It also features an interface that can be used to easily perform these operations of storage and retrieval, using this API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published