Answer the question
In order to leave comments, you need to log in
Is there a smart http client for nodejs?
We need this client to behave like a browser and save headers between requests.
Those. if I sent a request with a login and password to the site, then I will already perform all subsequent requests as an authorized user.
Answer the question
In order to leave comments, you need to log in
https://github.com/request/request
Supports cookie storage and automatic redirect, but browser headers will need to be specified by handles, like the referrer (the last url after all redirects is stored in response_variable.request.href - the feature is not specified in the documentation)
What you need is not a client. Go smoke a subject - testing of web services.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question