On Sat, Dec 5, 2009 at 2:48 AM, Steve Anderson <[email protected]> wrote:
> I am working my way through the online version of the O'Reilly book
> "CouchDB: The Definitive Guide" by Anderson, Lehnardt and Slater.
>
> I am on Chapter 3 "Getting Started".  I've downloaded and started CouchDBX,
> but am getting errors, or at least different responses, when I run the first
> few commands in chapter 3.
>
> For example:
>
> silverlight:~ stevea$ curl http://127.0.0.1:5984/
> {"couchdb":"Welcome","version":"0.10.0"}
>
> silverlight:~ stevea$ curl -X GET http://127.0.0.1:5984/_all_dbs_
> {"error":"error","reason":"illegal_database_name"}

this should be:

curl -X GET http://127.0.0.1:5984/_all_dbs

hopefully that will help.


>
> silverlight:~ stevea$ curl -X PUT http://127.0.0.1:5984/baseball
> curl: (52) Empty reply from server
>

this should respond with {"ok":true}

if it isn't than maybe there's a problem with your CouchDB. Have you
tried running the test suite from Firefox? It is available at
http://127.0.0.0:5984/_utils/couch_tests.html

> Any ideas?
>
> Thanks
>



-- 
Chris Anderson
http://jchrisa.net
http://couch.io

Reply via email to