1axios.post('/formulas/create', {
2 name: "",
3 parts: ""
4})
5.then(response => {
6 console.log(response)
7})
8.catch(error => {
9 console.log(error.response)
10});
11
1// Send the variables myNumber=1 and myFruit="orange" to the new PHP page...
2<a href="page2.php?myNumber=1&myFruit=orange">Next page</a>
3