You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vlucas, Could you please provide me with more info on how to get this to work? I'm struggling with how to tell it which url to use. A complete syntax that will run with jasmine-node command would be extremely helpful.
vlucas, Could you please provide me with more info on how to get this to work? I'm struggling with how to tell it which url to use. A complete syntax that will run with jasmine-node command would be extremely helpful.
var user = 'myUserName'
var password = 'thePassword'
var urlHere = 'http://myserver.net:8080';
//HTTP Basic Auth
// @param string username
// @param string password
Frisby.prototype.auth = function(user, pass) {
authHash = new Buffer(user + ':' + pass).toString('base64');
this.addHeader('Authorization', 'Basic ' + authHash);
return this;
};
The text was updated successfully, but these errors were encountered: