- 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.
推薦閱讀
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- Getting Started with ResearchKit
- Pandas Cookbook
- PyTorch自然語言處理入門與實戰
- 深入淺出Windows API程序設計:編程基礎篇
- HTML5+CSS3網站設計教程
- Mastering JBoss Enterprise Application Platform 7
- 劍指MySQL:架構、調優與運維
- Mastering Akka
- R語言數據可視化:科技圖表繪制
- JavaScript+jQuery網頁特效設計任務驅動教程
- C語言程序設計實驗指導
- Mastering High Performance with Kotlin
- ACE技術內幕:深入解析ACE架構設計與實現原理
- Mastering VMware Horizon 6