What is the command request to create a document using cURL utility?

22. What is the command request to create a document using cURL utility?

  1. curl -X PUT http://127.0.0.1:5984/database_name/document
  2. curl -X PUT http://127.0.0.1:5984/"id" -d ' { document} '
  3. curl -X PUT http://127.0.0.1:5984/database_name/"id" -d ' { document} '
  4. All of the above

Answer: C) curl -X PUT http://127.0.0.1:5984/database_name/"id" -d ' { document} '

Explanation:

The command request to create a document using cURL utility is:

curl -X PUT http://127.0.0.1:5984/database_name/"id" -d ' { document} '

Comments and Discussions!

Load comments ↻






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