How to bring cookie? in the get () of node

ask your bosses for help and want to know how to add cookie? to get. Cookie knows that the code is similar to the
posted below. Thank you!

var http = require("http")

var url = "https://www.imooc.com"

http.get(url,function(res){
    var html = ""

    res.on("data",function(data){
        html += data
    })
    res.on("end",function(){
        console.log(html)
    })
}).on("error",function(){
    console.log("")
})
Feb.17,2022
Doesn't the

request automatically carry the cookie under the current domain


https://nodejs.org/dist/lates.
https://nodejs.org/dist/lates.
in the headers of option, Bring cookie

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b69e-34640.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b69e-34640.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?