I am new to couchDB and am doing examples in the O'Reilly CouchDB tutorial.
I had a problem using the view to get the document by key:
curl http://127.0.0.1:5984/basic/_design/example/_view/by_date?key="2009/01/15 15:52:20"
gives the answer:
curl: (52) Empty reply from server
but just extract all the lines:
curl http://127.0.0.1:5984/basic/_design/example/_view/by_date
gives me 3 lines, including the specific line I'm looking for:
{"id": "hello-world", "key": "2009/01/15 15:52:20", "value": "Hello World"}
Why does the key request not work?
I am using CouchDB version 0.10.0 on Ubuntu 9.10
source
share