couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: CouchDB: @ in username messing up curl
Date Thu, 14 Nov 2013 18:23:06 GMT

On Nov 14, 2013, at 12:49 AM, Dave Cottlehuber <dch@jsonified.com> wrote:

> Also for console testing of couchdb, I highly recommend the amazing http://httpie.org/
python tool:

+1. I was going to mention this in my previous reply but forgot. httpie is custom-made for
working with JSON-based REST APIs. Here’s how easy it is to create a document:
	$ http PUT :5984/db/doc prop1=value1 prop2=value2
Bang, that’s it. It automatically converts the “name=value” pairs to JSON and sets the
Content-Type.
It also pretty-prints JSON responses and has a lot of other features that will brighten your
day.

—Jens
Mime
View raw message