title: Laravel 5.2 - TokenMismatchException in VerifyCsrfToken.php line 67:
body: <p>I am creating a video upload system and when I submit a video it shows to me:</p>
  
  <blockquote>
    <p>TokenMismatchException in VerifyCsrfToken.php line 67</p>
  </blockquote>
  
  <p>I have this in my view:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" rel="stylesheet"/&gt;
  &lt;form method="POST" action="{{ url('video/upload') }}" enctype="multipart/form-data" class="form-horizontal"&gt;
              {{ csrf_field() }}
              &lt;fieldset class="form-group"&gt;
                  &lt;label for="title"&gt;Title&lt;/label&gt;
                  &lt;input type="text" id="title" name="title" class="form-control"&gt;
              &lt;/fieldset&gt;
              &lt;fieldset class="form-group"&gt;
                  &lt;label for="video"&gt;Video&lt;/label&gt;
                  &lt;input type="file" id="video" name="video" class="form-control"&gt;
              &lt;/fieldset&gt;
              &lt;fieldset class="form-group text-lg-right"&gt;
                  &lt;button class="btn btn-success" type="submit"&gt;Upload&lt;/button&gt;
              &lt;/fieldset&gt;
          &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>And this in my controller:</p>
  
  <pre><code>namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use App\Video;
  
  use App\Http\Requests;
  
  class VideoController extends Controller
  {
      public function upload()
      {
          return view('video.upload');
      }
  
      public function uploadPost(Request $request)
      {
          $this-&gt;validate($request, [
              'title' =&gt; 'required|unique:videos|max:100',
              'tags' =&gt; 'required',
              'video' =&gt; 'required'
          ]);
  
          $mime = $request-&gt;file('video')-&gt;getMimeType();
  
          dd($mime);
      }
  }
  </code></pre>
  
  <p>And my php.ini is:</p>
  
  <blockquote>
    <p>upload_max_filesize = 100M</p>
  </blockquote>
  
  <p>Therefore, I have php.ini, csrf_field() and still getting error. What could be the issue?</p>