Sync Gateway PUT Bad JSON Error

Nice to hear that!

Yes, the main reason is that, after the redirection, the curl command switches from a POST call to GET a call.
Hence, no data is passed with a GET call.