Which is the correct command that is used to create a CouchDB database using cURL utility?

15. Which is the correct command that is used to create a CouchDB database using cURL utility?

  1. $ curl -X GET http://127.0.0.1:5984/database_name
  2. $ curl -X PUT http://127.0.0.1:5984/database_name
  3. $ curl -X PUT http://127.0.0.1:5984/document/database_name
  4. $ curl -X PUT http://127.0.0.1:5984/collection/database_name

Answer: B) $ curl -X PUT http://127.0.0.1:5984/database_name

Explanation:

The following command can be used to create a CouchDB database 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.