Fetching the data from the POST query to add a book.