title: Submitting Data, Error: Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message
body: <pre><code>&lt;form action="upload_creation" method="post"&gt;
  &lt;div class="modal-footer"&gt;
      &lt;button type="button" class="btn btn-link" data-dismiss="modal"&gt;Cancel&lt;/button&gt;
      &lt;button type="submit" class="btn btn-primary"&gt;Send&lt;/button&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>this is my code for form, i want to submit a file with button</p>
  
  <pre><code>public function upload_creation(Request $request){
      $input = $request-&gt;all();
      $creation = $this-&gt;creationRepository-&gt;create($input);
      foreach($request-&gt;file('direktori_gambar') as $image)
          {
              $name=time().$image-&gt;getClientOriginalName();
              $image-&gt;move(public_path().'/public/img', $name);
              $input['pictureName']=$image-&gt;getClientOriginalName();
              $input['pictureFile']='/public/img/'.$name;
              $mediaUkm = $this-&gt;creationPictRepository-&gt;create($input);   
          }     
      return view('webgallery.desktugas')-&gt;with($this-&gt;data);
  </code></pre>
  
  <p>this is the controller i referred to in form Action</p>
  
  <p>after i click the submit button, it came up as no message error on laravel</p>
  
  <p>any idea how to fix this?</p>