var axios = require("axios") var i = 1; while (i < 300) { axios.get('https://buscas.nl/') i = i + 0.1; } code example
Example 1: import axios
import axios from "axios";
Example 2: axios post
axios.post('/user', {
firstName: 'Fred',
lastName: 'Flintstone'
})
.then(function (response) {
console.log(response);
})
.catch(function (error) {
console.log(error);
});