1const https = require("https"); //First require the module
2
3const url = https://url.com
4//good practice is to assign the url to a const named url//
5
6app.get("/", function(req, res){
7 https.get(url, function(res){
8 console.log(res);//if you wish to console log the respone from the server
9 });