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?

  1. $ curl -X GET http://127.0.0.1:5984/_databases
  2. $ curl -X GET http://127.0.0.1:5984/_all_databases
  3. $ curl -X GET http://127.0.0.1:5984/_dbs
  4. $ 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

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.