Data update
This commit is contained in:
parent
35bcdeebf8
commit
74c69a0df6
2427 changed files with 31826 additions and 3468 deletions
|
|
@ -1,19 +1,3 @@
|
|||
const http = require('http');
|
||||
|
||||
http.get('http://rosettacode.org', (resp) => {
|
||||
|
||||
let data = '';
|
||||
|
||||
// A chunk of data has been recieved.
|
||||
resp.on('data', (chunk) => {
|
||||
data += chunk;
|
||||
});
|
||||
|
||||
// The whole response has been received. Print out the result.
|
||||
resp.on('end', () => {
|
||||
console.log("Data:", data);
|
||||
});
|
||||
|
||||
}).on("error", (err) => {
|
||||
console.log("Error: " + err.message);
|
||||
});
|
||||
$.get('http://rosettacode.org', function(data) {
|
||||
console.log(data);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue