first we create a dictionary of book and their respective price then get the book & their respective price by defining dictionary and then return the dictionary to get after we create a funtion of the single book that by jsonify by calling of string(book name ) in url section i get the book name and their respective price then we want want to create a book by POST methods in book_price dictionary so define a function for creation of the book with the help of request library we get book name and their respective price by user and that store in fuction and and that fuction append in that book_price dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
ravindragupta7033/first-basic-api-project
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published