couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "Replication" by RyanFunduk
Date Tue, 31 Mar 2009 22:56:00 GMT
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"}
  }}}

Mime
View raw message