Figure 3 - The Create Author page.
Extra Details
Available APIs: The following APIs are already implemented and available for you to use in your web application. You will interact with them via HTTP requests to
http://localhost:5100.
1. Get all books (GET)
URL:
http://localhost:5100/api/books
Description: This API returns a list of all books, including BookID, Title, Publisher, Publication Year,and the list of authors for each book.
2. Get all authors (GET)
URL:
http://localhost:5100/api/authors
Description: This API returns a list of all authors, including AuthorID, Name, Bio, and the list of books each author has contributed to.
3. Create a new book with authors (POST)
URL:
http://localhost:5100/api/books
Zoom
+ 100%
Close