Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

CouchDB replication error: {"error":"bad_content_type","reason":"Content-Type must be application/json"}

$
0
0

I'm trying to use the replication in CouchDB.

When I enter the following code :

 curl -X POST http://127.0.0.1:5984/_replicate \
-d ’{"source":"musica","target":"musica-replica"}’

I receive the following error:

{"error":"bad_content_type","reason":"Content-Type must be application/json"}

Can you help me?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>