Example couchdb http requests using curl