title: How to automatically add X-CSRF-TOKEN with jQuery ajax request in Laravel
body: <p>How can I add csrf token with my ajax requests (GET or POST) of my Laravel application automatically without adding it manually to each and every request.</p>
  
  <p><strong>My ajax Request</strong></p>
  
  <pre><code>   $.ajax({
        type:'post',
        url: "/email/unique",
        data: { "_token": "{{ csrf_token() }}", "email": email }
        success: function(data) {
          console.log(data);
        }
     });
  </code></pre>