Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- request("https://www.futbin.com" + "/17/player/3", function(error, response, full) {
- console.log(full);
- });
- var https = require('https');
- var options = {
- host: 'www.futbin.com',
- path: '/17/player/3',
- };
- callback = function(response) {
- var str = ''
- response.on('data', function (chunk) {
- str += chunk;
- });
- response.on('end', function () {
- console.log(str);
- });
- }
- var req = https.request(options, callback);
- req.end();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement