title: Getting page expired error in laravel when running curl
body: <p>I'm using curl for making laravel API.
  When I send post request through curl it shows me error "page has expired due to inactivity" and when I except token route it runs properly.
  But I want to use csrf token how to make it.</p>
  
  <pre><code>Curl -H "X-CSRF-TOKEN : token" -X POST  -d '{data}' http://local host:8000/api
  </code></pre>
  
  <p>I used these curl command to run the request.</p>