You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2009/04/01 00:56:00 UTC

[Couchdb Wiki] Update of "Replication" by RyanFunduk

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The following page has been changed by RyanFunduk:
http://wiki.apache.org/couchdb/Replication

The comment on the change is:
The URI for starting a replication is /_replicate not /some-db/_replicate

------------------------------------------------------------------------------
  
  
  {{{
- POST /example-database/_replicate HTTP/1.1
+ POST /_replicate HTTP/1.1
  
  {"source":"/example-database","target":"http://example.org/example-database"}
  }}}
@@ -25, +25 @@

  If your local CouchDB instance is secured by an admin account, you need to use the full URL format
  
  {{{
- POST /example-database/_replicate HTTP/1.1
+ POST /_replicate HTTP/1.1
  
  {"source":"http://example.org/example-database","target":"http://admin:password@127.0.0.1:5984/example-database"}
  }}}