Report abuse

gnip helper in javascript; depends on jquery


			
var GnipHelper = function (username, pwd, baseurl) {
    this.username = username;
    this.pwd = pwd;
    this.baseurl = baseurl;

    this._computeAuth = function () {
        // base64 the username and pwd
    }

    this.doRequest = function (url, data, asPost) {

    }
};