title: laravel 419 (unknown status)
body: <p>7 project and VueJs2 
  This is my VueJs2 code </p>
  
  <pre><code>mounted: function() {
     if(this.edit != null)
     {
          var token = document.head.querySelector('meta[name="csrf-token"]');
          console.log(token);
          $.ajax({
              type:'POST',
              url: path+'get_voucher_data',
              data: [{'_token':token}],
              success:(data) =&gt; {
                  console.log(data);
               }
          });
     }
  }
  </code></pre>
  
  <p>but I have this error: 
  <a href="https://i.stack.imgur.com/acQ92.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/acQ92.png" alt="enter image description here"></a></p>
  
  <pre><code>POST http://localhost/test/public/get_voucher_data 419 (unknown status)
  </code></pre>
  
  <p>Also, this is my blade code: </p>
  
  <pre><code>&lt;meta name="csrf-token" content="{{ csrf_token() }}"&gt;
  </code></pre>
  
  <p>Does anyone know why this happens, and how I can fix it?</p>