CouchDB cheatsheet

Assumptions for this article

Server is available locally on <code>http://localhost:5984/</code>

Database name is <code>mydb</code>

Fetch all documents using CURL

syntax/structure http://localhost:5984/mydb/_all_docs?include_docs=true

Example

curl -X GET http://localhost:5984/mydb/_all_docs?include_docs=true

# If authentication is required
curl -X GET http://admin:password@localhost:5984/mydb/_all_docs?include_docs=true