fix database name in view
[angular-mojolicious.git] / README
diff --git a/README b/README
index b7af6eb..c0fd38f 100644 (file)
--- 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