incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hank Knight <hknight...@gmail.com>
Subject HTTP request with CouchDB
Date Wed, 13 Nov 2013 12:48:25 GMT
Is it possible to send an HTTP request and receive a result with CouchDB?

I would like to do something like this:


function(doc, req) {
    var http = new XMLHttpRequest();
    http.open( "GET", "http://www.w3schools.com/xml/note.xml", false );
    http.send( null );
    emit("xyz",http.responseText);
}

Mime
View raw message