Laravel 5.5 ajax call 419 (unknown status) : <p>I do an ajax call but I keep getting this error:</p>

<blockquote>
  <p>419 (unknown status)</p>
</blockquote>

<p>No idea what is causing this I saw on other posts it has to do something with csrf token but I have no form so I dont know how to fix this.</p>

<p>my call:</p>

<pre><code>$('.company-selector li &gt; a').click(function(e) {
     e.preventDefault();

     var companyId = $(this).data("company-id");


      $.ajax({
          headers: {
          'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
          },
          url: '/fetch-company/' + companyId,
          dataType : 'json',
          type: 'POST',
          data: {},
          contentType: false,
          processData: false,
          success:function(response) {
               console.log(response);
          }
     });
  });
</code></pre>

<p>My route:</p>

<pre><code>Route::post('fetch-company/{companyId}', 'HomeController@fetchCompany');
</code></pre>

<p>My controller method</p>

<pre><code>/**
 * Fetches a company
 *
 * @param $companyId
 *
 * @return array
 */
public function fetchCompany($companyId)
{
    $company = Company::where('id', $companyId)-&gt;first();

    return response()-&gt;json($company);
}
</code></pre>

<p>The ultimate goal is to display something from the response in a html element.</p>
