basic auth and request #472

angelochen960 opened this Issue Mar 12, 2013 · 1 comment


None yet

2 participants



I use following code to post, if the host turn off the basic auth, it works, if it turn on basic auth, the request got verified, but json is empty in the host, why?

{ method: 'POST', uri: ' http://localhost:3010/job/',
'auth': {
'user': 'test',
'pass': 'test',
'sendImmediately': false
json: job
, function (error, response, body) {
if (response.statusCode == 201) {
console.log('document saved as:')
} else {
console.log('error: ' + response.statusCode)

request member

Is this still an issue?

This is so old I'm closing, if it is actually still an issue just let me know and I'll re-open.

@mikeal mikeal closed this Aug 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment