Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Forms, Auth and such documentation incomplete #629

Suor opened this Issue · 3 comments

3 participants


When I do or like without passing callback, then do some stuff with it form or .auth(), I am left with something I don't know what to do with.

Ok, If I read streaming section I could guess it's a stream, but it is not stated clearly even there. And it is still unclear where should I pass a callback to get response and body as usual. Or I am left with stream API only? Should I parse headers myself then? Many questions.


@Suor did you figure this out?


No, but I didn't try to hard, though


You should be able to do something like this:
    .callback = function(err, res, body) {
        // ...

I usually use this style instead though:

    uri : ...,
    method : 'POST',
    auth : { ... }
}, function(err, res, body) {
    // ...
@nylen nylen closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.