MerryFairyTalesAD440 / API

1 stars 2 forks source link

Get delete book #84

Closed mcontado closed 5 years ago

mcontado commented 5 years ago
  1. Integrated with vault.
  2. 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.