title: The PUT method is not supported for this route
body: <p>I cannot submit form information through to store function in laravel controller. The form needs to create a - new - profile for a registered user.</p>
  
  <p>I have even recreated the project, and redone the form - moving back into plain html as I suspect that the <code>laravelCollective</code> functions may be causing it but still the same error.
  I have even rearranged the the form attributes as suggested in another post/thread.</p>
  
  <p>I have even recreated the project, and redone the form - moving back into plain html as I suspect that the <code>laravelCollective</code> functions may be causing it but still the same error.
  I have even rearranged the the form attributes as suggested in another post/thread.</p>
  
  <p>The Form:</p>
  
  <pre><code>&lt; form method="POST" enctype="multipart/form-data" action="{{ url('users/profile') }}" accept-charset="UTF-8" &gt;
      @csrf
  ...
  // input fields here
  ...
  &lt; /form &gt;
  </code></pre>
  
  <p>The Routes:</p>
  
  <pre class="lang-php prettyprint-override"><code>    Route::resource('users/profile', 'ProfileController');
  
      Route::get('/home', 'HomeController@index')-&gt;name('home');
  
      Route::resource('users', 'UserController');
      Route::post('users/profile', 'ProfileController@store')-&gt;name('profile.store');
  </code></pre>
  
  <p>The ProfileController@store function:
  //some code omitted </p>
  
  <pre class="lang-php prettyprint-override"><code>    public function store(Request $request)
      {
  
          $this-&gt;validate($request, [
              'firstname'=&gt;'required',
              'lastname'=&gt;'required', 
              ...
              'desc'=&gt;'required'
          ]);
  
  
          //handle file upload
          if($request-&gt;hasFile('cover_image')) {
              //Get file name with extension
              $fileNameWithExt = $request-&gt;file('cover_image')-&gt;getClientOriginalName();
              //Just file name
  
              $fileName = pathinfo($fileNameWithExt, PATHINFO_FILENAME);
  
              //Just Ext
              $ext = $request-&gt;file('cover_image')-&gt;getClientOriginalExtension();
  
              //FileName to Store
              $fileNameToStore = $fileName.'_'.time().'_'.$ext;
              //upload image 
              $path = $request-&gt;file('cover_image')-&gt;storeAs('public/users/'.auth()-&gt;user()-&gt;id.'cover_images/'.$request-&gt;input('firstname').'_'.$request-&gt;input('lastname').'_'.auth()-&gt;user()-&gt;id.'/',$fileNameToStore);
  
  
          } else {
              $fileNameToStore = 'noimage.jpg';
          }
          /*
          */
  
          $profile = new Profile;
          $profile-&gt;firstname = $request-&gt;input('firstname');
          $profile-&gt;lastname = $request-&gt;input('lastname');
          ...
          $profile-&gt;desc = $request-&gt;input('desc');
          $profile-&gt;save();
          return redirect('/users/profile');//-&gt;with('success','Profile Created');
      }
  </code></pre>
  
  <p>The famous error:</p>
  
  <blockquote>
    <p>Symfony \ Component \ HttpKernel \ Exception \
    MethodNotAllowedHttpException The PUT method is not supported for this
    route. Supported methods: GET, HEAD, POST.</p>
  </blockquote>
  
  <p>Not sure what is causing the error, help appreciated.</p>