Which console.log?
Also you may want to look at node-fetch or got to smooth talking to API’s rather than raw https