App is hosted at this endpoint https://book-api-1234.herokuapp.com/. Use Http GET unless specified otherwise.
- /booklist/bookname/<name>
Example:/booklist/bookname/the%20adventures
(%20 signifies space)
- /booklist/rent/
Example:/booklist/rent/?lower=10&upper=100
(? signifies start of arguments. Please provide two arguments upper and lower)
- /booklist/custom/
Example:/booklist/rent/?lower=10&upper=100&name=the&category=Fiction
- /transactions/bookissue/
(use http POST) Example: The post body should contain these keys
{ "book_name":"The Great Gatsby", "person_name":"ramesh" }
- /transactions/bookreturn/
(use http POST) Example: The post body should contain these keys
{ "book_name":"The Great Gatsby", "person_name":"ramesh" }
- /transactions/person/$ltname>
Example:/transactions/person/xyz
- /transactions/generatedrent/$ltname>
Example:/transactions/generatedrent/The%20Great%20Gatsby
- /transactions/listofpeople/$ltname>
Example:/transactions/listofpeople/The%20Great%20Gatsby
- /transactions/daterange/
Example:/transactions/listofpeople/?lower04/06/22=&upper=10/06/22
(provide these two arguments in format dd/mm/yy)