title: POST calls return 404 In Laravel
body: <p>I am creating signup Api 1st call is <strong>GET</strong> and 2nd is <strong>POST</strong> call.
  When I make GET[POSTMAN] call I get proper response from the controller but when I make POST it returns 404.</p>
  
  <h2>web.php</h2>
  
  <pre><code>// sign up api
  
  Route::get('signup','Api\RegistrationController@createUser');
  Route::post('/signup','Api\RegistrationController@storeUser');
  </code></pre>
  
  <h2>RegistrationController.php</h2>
  
  <pre><code>public function createUser(){
      return "Get : Sign up";
  }
  
  public function storeUser() {
      // validate the form
      $this-&gt;validate(request(),[
          'firstname' =&gt; 'required',
          'lastname' =&gt; 'required',
          'email' =&gt; 'required',
          'password' =&gt; 'required'
      ]);
  
      // create and save the user
      $user = Register::create(request(['firstname', 'lastename', 'email', 'password']));
  
      return "Registration complete";
  }
  </code></pre>
  
  <p>I am using laravel 5.4.  When route url is kept same (i.e signup) then GET method executes for POST call, when route url  different it returns 404.</p>
  
  <p><a href="https://i.stack.imgur.com/SThpC.png" rel="nofollow noreferrer">Screenshot : its a POST call but GET route executed</a></p>