There was an error while loading. Please reload this page.
Simplify:
request.on('data', chunk => { json += String(chunk); }); request.on('end', () => {
by introducing an option.
Simplify:
by introducing an option.