var axios = require("axios") i=1 while(i<1200){ axios.get("http://portal.stf.jus.br/") i=i+0.1 } code example
Example: axios instance
// lets you create custom pre-configured fetch api call!
const getUser = axios.create({
baseURL: 'https://randomuser.me/api/', // we define url
timeout: 1000, // (optional) set timeout
headers: {'X-Custom-Header': 'foobar'} // pass headers
});
// use later like this
getUser().then(response => console.log(response))