Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
11
Task/HTTPS/JavaScript/https-3.js
Normal file
11
Task/HTTPS/JavaScript/https-3.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
require("https").get("https://sourceforge.net", function (resp) {
|
||||
let body = "";
|
||||
resp.on("data", function (chunk) {
|
||||
body += chunk;
|
||||
});
|
||||
resp.on("end", function () {
|
||||
console.log(body);
|
||||
});
|
||||
}).on("error", function (err) {
|
||||
console.error("Error: " + err.message);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue