Let's talk about book API with Python and Flask.
Run the command below:
$ pip install flask
Run the command below:
$ flask run
Method | Route | Description |
---|---|---|
GET | /books | this should respond with a list of all books. |
POST | /add-book | this route should add a book on your library. |
PUT | /update-book/ | this route should update a book on your library. |
DELETE | /delete-book/ | this route should allow you to delete a specific book |