Help me with my problem, please! I used CouchDB and I used jquery.couch.js to communicate with the CouchDB server ( http://daleharvey.github.com/jquery.couch.js-docs/symbols/index.html ) but it doesn’t work ((Start of this script:
$.couch.urlPrefix = 'http://127.0.0.1:5984'
function getAllDBs(){
$.couch.db('mysecondtest').allDocs({
error: function(status, id, reason) {alert(status+' : '+id+' : '+reason);},
success:function(data){
alert(data);
}
});
}
getAllDBs();
return error:
405 Method Not Allowed localhost:5984
I think this means that the server perceives my request as a request for a remote server, but I do not know how to fix it. Please help me and sorry for my bad English))
source
share