Updated the deleteBook function to add the partitionKey because our database was setup to have partitionKey and it is required when deleting by document.
GET books:
https://merry-fairy-tales.azurewebsites.net/v1/books
DELETE book/{bookId}:
https://merry-fairy-tales.azurewebsites.net/v1/books/{bookId}?code=LtctgqDYSTNYMv/0d0l7PM3Pxl6IDoX0QCieaLD5g79az3RmESejGQ==
Replace the {bookId} with the id you want to delete.
GET books:
https://merry-fairy-tales.azurewebsites.net/v1/books
DELETE book/{bookId}:
https://merry-fairy-tales.azurewebsites.net/v1/books/{bookId}?code=LtctgqDYSTNYMv/0d0l7PM3Pxl6IDoX0QCieaLD5g79az3RmESejGQ==
Replace the {bookId} with the id you want to delete.