+ 2
From the axios documentation, a simple POST request can be made as follows:
axios.post('/user', { firstName: 'Fred', lastName: 'Flintstone' })
.then(function (response) { console.log(response); })
.catch(function (error) { console.log(error); });
In your case, simply change the URL as well as the "firstName" and "lastName" data to your own, for example replacing "firstName: 'Fred'" with "WithCredentials: true"