Which is the correct command that is used to delete an existing CouchDB database using cURL utility?

18. Which is the correct command that is used to delete an existing CouchDB database using cURL utility?

  1. $ curl -X DELETE http://127.0.0.1:5984/database_name
  2. $ curl -X DELETE http://127.0.0.1:5984/_database_name
  3. $ curl -X DELETE http://127.0.0.1:5984/document/database_name
  4. $ curl -X DELETE http://127.0.0.1:5984/document/_database_name

Answer: A) $ curl -X DELETE http://127.0.0.1:5984/database_name

Explanation:

The following command can be used to delete an existing CouchDB database using cURL utility,

$ curl -X DELETE http://127.0.0.1:5984/database_name

Comments and Discussions!

Load comments ↻






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