title: Dropzone.js post request in laravel 5.4
body: <p>I am not receiving any request at controller's uploadGallery method. Although, the post request is received correctly. </p>
  
  <p><strong>gallery.blade.php</strong></p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;form action="{{ url('file-upload') }}" method="post" class="dropzone" id="my-awesome-dropzone"&gt;
                              {{ csrf_field() }}
                              &lt;div class="dz-message"&gt;
                                  &lt;h3&gt;Drop images here or click to upload.&lt;/h3&gt;
                              &lt;/div&gt;
                          &lt;/form&gt;
                      &lt;/div&gt;
      &lt;script type="text/javascript"&gt;
  
          $(function (){
  
              Dropzone.options.myAwesomeDropzone = {
                  paramName: "files",
                  uploadMultiple:true,
                  maxFilesize:6,
                  autoProcessQueue: true,
                  uploadMultiple: true,
                  addRemoveLinks: true,
                  acceptedFiles: ".png, .jpg, .jpeg",
                  dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",
                  dictRemoveFile: "Remove",
                  dictFileTooBig:"Image is bigger than 6MB",
  
                  accept: function(file, done) {
                      console.log("Uploaded");
                      done();
                  },
  
                  init:function() {
                  /*  var submitButton = document.querySelector('#submit-all')
                          myAwesomeDropzone = this;
  
                      submitButton.addEventListener("click", function(
                          myAwesomeDropzone.processQueue();
                      ));
  
                      this.on("addedfile", function(){
                          $('#submit-all').show();
                      });*/
  
                  },  
                  success: function(file,done){
                      console.log("All files done!");
                  }
          }
          });
      &lt;/script&gt;
  </code></pre>
  
  <p><strong>web.php</strong></p>
  
  <pre><code>Route::get('/gallery', 'PagesController@Gallery');
  Route::post('/file-upload', 'ImagesController@uploadImages');
  </code></pre>
  
  <p><strong>ImagesController.php</strong></p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use App\User;
  use App\Image;
  use Illuminate\Http\Request;
  use Illuminate\Support\Facades\Auth;
  
  class ImagesController extends Controller
  {
      public function __construct() {
          $this-&gt;middleware('auth');
      }
  
      public function uploadImages(Image $request) {
          $images = request()-&gt;file('files');
          dd($images);
          return view('Gallery');
      }
  }
  </code></pre>
  
  <p>Anything inside the uploadImages function is not running. Why? </p>