Skip to content Skip to sidebar Skip to footer

Pouchdb On Cloudant

I am currently using PouchDB and I am making use of Cloudant to make my db in PouchDB to be on cloud. I did callback method and it gave a success callback, however, I check my dat

Solution 1:

Answer :

My error was because the host link I was using was incorrect. It should be in a format of http://username:password@mycluster.cloudant.com . I generated an API key and used the key as username and password as password. Then it worked. I was able to create and query document.

Post a Comment for "Pouchdb On Cloudant"