CouchDB examples:
- couchdb-changes.pl - simple _changes feed watcher using Mojo::Client documented at
+ couchdb-changes.pl - simple _changes feed watcher using Mojo::UserAgent documented at
http://wiki.apache.org/couchdb/HTTP_database_API#Changes
$ ./couchdb-trigger.pl http://localhost:5984/demo trigger/shell.pm
- $ curl -X PUT http://localhost:5984/demo/t1 -d '{"trigger":{"command":"notify-send CouchDB t1"}}'
+ $ curl -X POST http://localhost:5984/demo/ -H 'Content-type:application/json' -d \
+ '{"trigger":{"command":"notify-send \"CouchDB trigger notify example\""}}'
couchdb-external-kinosearch.pl - external searcher for KinoSearch indexes