Home »
MCQs »
CouchDB MCQs
Which is the correct command used for listing out all the CouchDB databases using cURL utility?
16. Which is the correct command used for listing out all the CouchDB databases using cURL utility?
- $ curl -X GET http://127.0.0.1:5984/_databases
- $ curl -X GET http://127.0.0.1:5984/_all_databases
- $ curl -X GET http://127.0.0.1:5984/_dbs
- $ curl -X GET http://127.0.0.1:5984/_all_dbs
Answer: D) $ curl -X GET http://127.0.0.1:5984/_all_dbs
Explanation:
The following command can be used for listing out all the CouchDB databases using cURL utility,
$ curl -X PUT http://127.0.0.1:5984/database_name