title: Vue js post request with laravel getting 419 error and unhandled promise exception
body: <p>My cors is set and i can also see bearer token when i make request  but i m unable to sort out what is the issue in my code or which thing is missing whenever i make post request i get unhandled promise exception with status 419 please help me guys thank you.</p>
  
  <pre><code>    updateuser() {   
      var data={
      username:this.firstname,
      lastname:this.lastname,
      email:this.email,
      role:this.role,
      status:this.status
      }
      this.$http.post('users/update',data).then(function(response){
      this.$router.go()
    })
    .catch(error =&gt; {
    console.log(error)
   });
  </code></pre>