0.1.2 • Published 9 years ago

icg-request-ntlm v0.1.2

Weekly downloads
11
License
-
Repository
github
Last release
9 years ago

Request-NTLM

Module for authenticating with NTLM; An ntlm authentication wrapper for the Request module.

Install with NPM

$ npm install --save-dev request-ntlm

Usage

var ntlm = require('icg-request-ntlm');

var opts = {
  username: 'username',
  password: 'password',
  domain: 'yourdomain',
  workstation: 'workstation',
  url: 'http://example.com/path/to/resource'
};
var json = {
  // whatever object you want to submit
};
ntlm.post(opts, json, function(err, response) {
  // do something
});