1

Consider sp-request module. It does all authentication for you. You can use REST API without thinking about the auth: import * as sprequest from 'sp-request'; let spr = sprequest.create(credentialOptions); spr.get('http://sp2013dev/sites/dev/_api/web/lists/GetByTitle(\'TestList\')') .then(response => { console.log('List Id: ' + response.body.d.Id);...


Only top voted, non community-wiki answers of a minimum length are eligible