title: Ajax LARAVEL 419 POST error
body: <p>I would really appreciate some help on this.
  I tried tons of solutions as posted in this forum, but I cannot get it to work. </p>
  
  <p>My ajax call is something like</p>
  
  <pre><code>$(document).ready(function() {
      $("#company").click(function() {
          $.ajax({
              type: "POST",
              dataType:'html',
              url : "/company",
              success : function (data) {
                  $("#result").html(data);
              }
          });
      });
  });
  </code></pre>
  
  <p>I am calling the view through my route</p>
  
  <pre><code>Route::post('/company', 'Ajaxcontroller@loadContent');
  </code></pre>
  
  <p>And controller</p>
  
  <pre><code>public function loadContent()
      {
          return view('listing.company')-&gt;render();
      }
  </code></pre>
  
  <p>My company.blade.php is </p>
  
  <pre><code>    @foreach ($companies as $company)
              &lt;div class="posting-description"&gt;
              &lt;h5 class="header"&gt;&lt;a href="#"&gt;&lt;/a&gt;{{$company-&gt;name}}
              &lt;/h5&gt;
              &lt;h5 class="header"&gt; {{$company-&gt;streetaddress}} {{$company-&gt;postalcode}}&lt;/h5&gt;  
              &lt;p class="header"&gt;
               &lt;span class="red-text"&gt; &lt;?= $service; ?&gt; &lt;/span&gt; is available on &lt;span class="green-text"&gt;&lt;?php echo $date; ?&gt;&lt;/span&gt;
             &lt;/p&gt;
      @endforeach
  </code></pre>
  
  <p>I am getting this error</p>
  
  <pre><code>POST http://127.0.0.1:8234/company 419 (unknown status)
  </code></pre>