For keeping session information as cookies and having CORS along with it, XHR has withCredentials option along with Access-Control-Allow-Credentials response Header to make the browser send the cookies for each requests.
I would like to achieve the same (withCredentials) in npm-request package. Is there any way for this ? :)
Thank you