I need to send GET request on https url with \"Authorization\" header. I try to do this using this code:
request.get({ url: url, headers: { \'Authorizati
Have you tried using auth key? See the details example in the project's readme request.get('http://some.server.com/', { 'auth': { 'user': 'username', 'pass': 'password', 'sendImmediately': false } });
auth
request.get('http://some.server.com/', { 'auth': { 'user': 'username', 'pass': 'password', 'sendImmediately': false } });