I am using SuperAgent in React Native Android which is similar to Node.js environment. I am trying to call my API using https protocol. However, by simply calling
Req = SuperAgent
.get(‘https://url...')
.set('Accept','application/json')
.end(function(err, res){some code})
returns error that res not found. I was not able to find https call guide in the official documentation. Really appreciate your help!