You will delete the document just added to the Orders
database using a DELETE
request. You will specify the document Guid
in the request URL and perform the request on the server to delete the document. Then, you will verify in the Management Studio that the document has been removed and you will take a look to the server response:
Open the Management Studio and select the
Orders
database.Click on the Documents tab and open the document which has a
Guid
as the ID.Copy the document ID to the clipboard.
Launch the RESTClient tool.
Click on the Method tab and select the DELETE HTTP method.
In the HTTP Request section, enter this URL and complete it by the document
Guid
you stored on the clipboard:http://localhost:8080/databases/orders/docs/{your guid}
.Click on the green Go! button to send the
DELETE
request to the server.In the Management Studio, click on the Documents tab and verify that the document has been deleted from the
Orders
database.