title: Why my form is not sending data with POST in Laravel?
body: <p>I'm creating my login page with Laravel</p>
  
  <p>I want send my login form datas with POST method, but is not working</p>
  
  <pre><code>// /view/login.blade.php
  /*
  {{ Form::open([
      "route" =&gt; "user/login",
      "autocomplete" =&gt; "off",
      'method' =&gt; 'POST'
  ]) }}
      {{ Form::label("username", "Usuário:") }}
      {{ Form::text("username", Input::old("username"), [
          "placeholder" =&gt; "john.smith"
      ]) }}
      {{ Form::label("password", "Senha:") }}
      {{ Form::password("password", [
          "placeholder" =&gt; "*******"
      ]) }}
      {{ Form::submit("Entrar") }}
  {{ Form::close() }}
  
  //---------------------------------------
  // routes.php
  Route::any( '/', [
  "as" =&gt; "user/login",
      "uses" =&gt; "UserController@loginAction"
  ] );
  
  //---------------------------------------
  // /controllers/UserController.php
  class UserController extends Controller
  {
      public function loginAction()
      {
          echo Input::server( "REQUEST_METHOD" );  // This line is ever print "GET"
          return View::make( 'user/login' );
      }
  }*/
  </code></pre>
  
  <p>[Code edited]</p>
  
  <pre><code>// view/login.blade.php
  &lt;form action="{{URL::to('/')}}" method="post"&gt;
      &lt;input name="login" type="text"/&gt;&lt;br/&gt;
      &lt;input type="password" name="senha" id=""/&gt;&lt;br/&gt;
      {{ Form::submit('Enviar') }}
  &lt;/form&gt;
  
  // routes.php
  Route::any('/', function()
  {
      echo Request::getMethod();   is returning GET forever
      return View::make( 'login' );
  });
  </code></pre>
  
  <p>Apparently, my form will send datas with POST method, but I can never get they in $_POST, why? </p>