2016-02-13 62 views
0

我想在CouchDB上部分複製一個數據庫。這是我的查詢,我使用命令提示符執行:CouchDB複製錯誤 - 只允許POST

CURL POST http://localhost:5984/_replicate HTTP/1.1 Content-Type: application/json {"source":"source_db", "target":"target_db", "doc_ids":["00123f8-8uht1-81ia-n1762-81ubas81762121iaj1"]} 

這是錯誤:

Failed to connect to POST port 80: Timed Out 
{"error":"method_not_allowed", "reason":"Only POST allowed"} 

是什麼原因造成的錯誤,我該如何擺脫它?

回答

相關問題