const http = require('http')
http.get(
'http://localhost/index.html',
{headers: {user: 'bob', password: 'supersecretpassword'}},
res => {
// If allowed to access the page, print it out
if (res.statusCode === 200) res.pipe(process.stdout)
else console.error('Invalid login')
}
)
"git@gitlab.caltech.edu:cs24-19fa/git_rec_nano.git" did not exist on "793d8490decd3bb6e65f5ac1f83c34eeb185c054"
-
Caleb C. Sander authored25831608