const http = require('http');
http.createServer(function(req, res) {
http.get(url,an =>{
}).on('error', console.error);
res.writeHead(200,{ 'contents-type':'aplication/json' });
res.end('1');
}).listen(3000,()=>{'start server'})