title: Laravel 5.6 post form doesn't work
body: <p>I have a page that contains different info about a list of objects, each row has a button to confirm the object in the current row.</p>
  
  <p>If I try to submit the "confirm" button, Laravel shows a page with these words: "The page has expired due to inactivity. Please refresh and try again."</p>
  
  <p>index view page:</p>
  
  <pre><code>&lt;form action="{{url('confirm')}}" method="POST" enctype="multipart/form-data"&gt;
    &lt;input type="hidden" value="idproof"  id="id"  name="id" &gt;
    &lt;input type="hidden" value="nameproof"  id="name"  name="name" &gt;
    &lt;input type="submit" class="btn" value="Confirm"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>web.php</p>
  
  <pre><code>Route::get('confirm','Controller@showList');
  Route::post('confirm', 'Controller@confirmObject');
  </code></pre>
  
  <p>controller method:</p>
  
  <pre><code>public function showList()
  {
    $ob=Object::all();
    return view('object.index',compact('poiValidation',$ob));
  }
  
  
  public function confirm(ObjectRequest $request,Object $poiToSave)
  {
     // just a proof
     return  $request;
  }
  </code></pre>
  
  <p>Request is autogenerated by a Laravel command.</p>
  
  <p>If i put the route in the api.php, it works. I can't figure out why it doesn't work in web.php</p>
  
  <p>Thanks in advance!</p>