axios.min.js:formatted:500 Uncaught (in promise) Error: Network Error at e.exports at XMLHttpRequest.l.onerror code example
Example: axios how to get error response
axios.post('/formulas/create', {
name: "",
parts: ""
})
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error.response)
});