We created a database using
curl in Chapter 3, Getting Started with CouchDB and Futon. Let's quickly recap how to use a
PUT request to create a new database in CouchDB.
passwordwith the database administrator user that you created in Chapter 3.
curl -X PUT username:password@localhost:5984/verge
We used Terminal to trigger a
PUT request, using
curl, to create a database through CouchDB's RESTful JSON API. We passed
verge as the name of the database at the end of CouchDB's root URL. When the database was successfully ...