git.schokokeks.org
Repositories
Help
Report an Issue
fs-words.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
6e9c872
Branches
Tags
develop-client_server
master
typescript
fs-words.git
server
lib
node_modules
needle
examples
digest-auth.js
[add] server:lib:node_modules
Christian Fraß
commited
6e9c872
at 2021-03-08 23:52:07
digest-auth.js
Blame
History
Raw
var needle = require('./..'); var opts = { username: 'user3', password: 'user3', auth: 'digest' } needle.get('http://test.webdav.org/auth-digest/', opts, function(err, resp, body) { console.log(resp.headers); if (resp.statusCode == 401) console.log('\nIt failed.') else console.log('\nIt worked!') });