- CouchDB and PHP Web Development Beginner’s Guide
- Tim Juravich
- 92字
- 2021-08-13 18:22:53
Time for action — deleting a database In CouchDB
In this exercise, we'll call a DELETE
request to delete the another-db
database.
- Delete
another-db
by running the following command in Terminal:curl -X DELETE http://localhost:5984/another-db
- Terminal will respond with the following:
{"ok":true}
What just happened?
We used Terminal to trigger a DELETE
method to CouchDB's RESTful JSON API. We passed the name of the database that we wanted to delete, another-db
, at the end of the root URL. When the database was successfully deleted, we received a message that everything went okay.
推薦閱讀
- Mobile Application Development:JavaScript Frameworks
- Programming ArcGIS 10.1 with Python Cookbook
- Essential Angular
- Java Web應用開發(fā)技術與案例教程(第2版)
- Learning Laravel 4 Application Development
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- Nginx Lua開發(fā)實戰(zhàn)
- BeagleBone Black Cookbook
- OpenCV with Python By Example
- Mockito Essentials
- Moodle 3 Administration(Third Edition)
- Qt 4開發(fā)實踐
- 分布式架構原理與實踐
- AI自動化測試:技術原理、平臺搭建與工程實踐
- 大學計算機應用基礎(Windows 7+Office 2010)(IC3)