Lybekk

CouchDB cheatsheet

Assumptions for this article

Server is available locally on http://localhost:5984/

Database name is mydb

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