title: MethodNotAllowedHttpException in RouteCollection.php in Laravel 5
body: <p><strong>routes.php</strong></p>
  
  <pre><code>Route::get('/',array('uses'=&gt;'student@index'));
  Route::get('/view',array('uses'=&gt;'student@view'));
  Route::post('/save',array('uses'=&gt;'student@save'));
  </code></pre>
  
  <p>This is the code and I am working on form and when I submit the form, it shows this error:</p>
  
  <blockquote>
    <p>MethodNotAllowedHttpException in RouteCollection.php line 201:</p>
  </blockquote>
  
  <p><strong>student.php</strong></p>
  
  <pre><code>class student extends Controller  {
  
      public function index()
       {   
           //return 'hello world';
  
          return \View::make('student.index');
        }
            public function view()
       {
          return \View::make('student.view');
        }
  
            public function save()
       {
          //return \View::make('student.view');
  
          $validation= array(
                        'first_name'=&gt;'required',
  
                        'email'=&gt;'required'
  
                            );
          $v1=validator::make(Input::all(),$validation);
          if( $v1-&gt;fails())
          {
          return Redirect::to('view')-&gt;withErrors($v1);
          }
          else
          { $poststudent=Input::all();
            $data = array('first_name'=&gt;$poststudent['first_name'],
                           'last_name'=&gt;$poststudent['last_name'],
                           'email'=&gt;$poststudent['email'],
                           'interested'=&gt;$poststudent['interested'], 
                           'skills'=&gt;$poststudent['skills']);
  
          $check=0;
          $check=DB::table('students')-&gt;insert($data);
  
          if($check &gt; 0)
          {
          return Redirect::to('/');
          }
          else
          {
          return Redirect::to('/view');
          }
  
          }
  
  
  
        }
  
          }
  </code></pre>
  
  <p>Form is like this:</p>
  
  <pre><code>&lt;form action="&lt;?=URL::to('/save')?&gt;" methed="POST"&gt;
  &lt;div class="form-group"&gt;
   &lt;label for= "first_name"&gt; FIRST NAME &lt;/label&gt;
  &lt;input name="FIRST NAME" type="text" value="" class="form-control" id="first       name"/&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I am stuck here.</p>