In this exercise, we'll call a
DELETE request to delete the
another-dbby running the following command in Terminal:
curl -X DELETE http://localhost:5984/another-db
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.