title: Getting error like "The GET method is not supported for this route. Supported methods: POST."
body: <p>I want to edit the post so gone through the edit route process but it's showing error like </p>
  
  <blockquote>
    <p>The GET method is not supported for this route. Supported methods: POST.</p>
  </blockquote>
  
  <p>I tried in <code>edit.blade.php</code> <code>method="post"</code> and also "POST" and in <code>route.php</code> changed <code>Route::POST</code> to <code>Route::Post/Put</code> </p>
  
  <p>In <code>edit.blade.php</code></p>
  
  <pre><code>&lt;form class="form"action="{{route('Staff.update')}}" method="post" enctype="multipart/form-data"&gt;
      {{csrf_field()}}
  </code></pre>
  
  <p>and in <code>web.php</code></p>
  
  <pre><code>Route::get('/Staff/edit/{id}',[
      'uses'=&gt;'StaffController@edit',
      'as'=&gt;'staff.edit'
  ]);
  
  Route::Post('/Staff/update/{id}',[
      'uses'=&gt;'Staffcontroller@update',
      'as'=&gt;'Staff.update'
  ]);
  </code></pre>