GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing raw.githubusercontent.com — raw.githubusercontent.com const https = require('https')
const url = 'https://api.darksky.net/forecast/9d1465c6f3bb7a6c71944bdd8548d026/44.1545,-75.7088';
const request = https.request(url, (response) => {
let data = ''
response.on('data', (chunk) => {
data = data + chunk.toString()
console.log('json converted to string!');
})
response.on('end', () => {
console.log('At the end!');
const body = JSON.parse(data)
console.log(body)
})
})
request.on('error', (error) => {
console.log('An error', error)
})
request.end() |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |