Skip to content

Instantly share code, notes, and snippets.

@faloi
Created September 7, 2015 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faloi/2551400c108a83b116e1 to your computer and use it in GitHub Desktop.
Save faloi/2551400c108a83b116e1 to your computer and use it in GitHub Desktop.
var request = require('request').defaults({
baseUrl: mumukiConfig.url + '/api',
auth: { user: mumukiConfig.clientID, pass: mumukiConfig.clientSecret },
json: true
});
require('bluebird').promisifyAll(request);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment