Mixin: request

request

This mixin provides [ajax()]KagoDB#ajax method to perfome Ajax with request module. Use jquery mixin instead when you use Ajax from web browsers.
Source:
See:

Example

var MyKago = KagoDB.inherit();
MyKago.mixin(KagoDB.bundle.request());
var collection = new MyKago();

var options = {
  method: 'GET',
  url: 'http://graph.facebook.com/4',
};
collection.request(options, function(err, body) {
  console.log(body); // JSON
});