Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
RavenDB 2.x Beginner's Guide

You're reading from  RavenDB 2.x Beginner's Guide

Product type Book
Published in Sep 2013
Publisher Packt
ISBN-13 9781783283798
Pages 356 pages
Edition 1st Edition
Languages
Author (1):
Khaled Tannir Khaled Tannir
Profile icon Khaled Tannir

Table of Contents (21) Chapters

RavenDB 2.x Beginner's Guide
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Getting Started with RavenDB RavenDB Management Studio RavenDB.NET Client API RavenDB Indexes and Queries Advanced RavenDB Indexes and Queries Advanced RavenDB Document Capabilities RavenDB Administration Deploying RavenDB Scaling-out RavenDB RavenDB Profiling RavenDB HTTP API Putting It All Together Pop Quiz Answers Index

Time for action – performing a Delete request


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:

  1. Open the Management Studio and select the Orders database.

  2. Click on the Documents tab and open the document which has a Guid as the ID.

  3. Copy the document ID to the clipboard.

  4. Launch the RESTClient tool.

  5. Click on the Method tab and select the DELETE HTTP method.

  6. 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}.

  7. Click on the green Go! button to send the DELETE request to the server.

  8. In the Management Studio, click on the Documents tab and verify that the document has been deleted from the Orders database.

What...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}