const axios=require("axios"); let rst=await (axios.get('https://api.github.com/users/github'));//await promise console.log(rst.data);