Skip to content

Commit

Permalink
Added getNon api call to do an unauthed get request
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Oct 26, 2012
1 parent 12061e2 commit 677d82e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ mod = {
}
};
},
getNon: function(url, cb) {
log.debug('GET ' + this.host() + url);
request.get({
url: this.host() + url
}, this.callback(cb));
},
get: function(url, cb) {
var username = config.get('username'),
token = config.get('token'),
Expand Down

0 comments on commit 677d82e

Please sign in to comment.