this.$axios.post('insert', { name: this.name, email: this.email, password: this.password }) .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); });