X-Git-Url: http://git.rot13.org/?p=angular-mojolicious.git;a=blobdiff_plain;f=README;h=c0fd38f40e26cbd121c1338a4909b1e8d175f327;hp=b7af6ebb1da359af2b9360607ae63d978be689fb;hb=dd620394c11a0fef381a98547bc3daaff4cb50f5;hpb=f879a2e9e5a17f3fb53af1e87986aa7ce948e85c diff --git a/README b/README index b7af6eb..c0fd38f 100644 --- a/README +++ b/README @@ -77,7 +77,7 @@ Angular examples available: 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 @@ -93,7 +93,8 @@ CouchDB examples: $ ./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