title: jQuery POST request always returns 404 not found with Laravel 4
body: <p>Every time I try to make a POST request with jQuery I keep receiving back the 404 error.</p>
  
  <p>This is the <code>UserController.php</code>:</p>
  
  <pre><code>class UserController extends BaseController {
  
      public function signUp($username, $password, $email) {
  
          $user = new User();
          $user-&gt;setUsername($username);
          $user-&gt;setPassword($password);
          $user-&gt;setEmail($email);
  
          return 'OK';
      }
  }
  </code></pre>
  
  <p>And this is the <code>routes.php</code>:</p>
  
  <pre><code>Route::get('/signup', function(){
  
      return View::make('signup');
  });
  
  Route::post('/signup/{username}/{password}/{email}', 'UserController@signUp');
  </code></pre>
  
  <p>I always receive this error:</p>
  
  <pre><code>POST http://192.168.0.102/webname/public/signup 404 (Not Found)
  </code></pre>
  
  <p>Why is that? If I try to navigate to <code>http://192.168.0.102/webname/public/signup</code> the page is loaded and the signup form is shown.</p>