This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable no-console */ | |
const https = require('https'); | |
const fetch = require('node-fetch'); | |
const ntlm = require('httpntlm').ntlm; | |
const keepAlive = new https.Agent({ keepAlive: true }); | |
const handleErrors = (response) => { | |
if (!response.ok) { |