title: Laravel route post vs get
body: <p>project is laravel 5.6. My project has 2 routes:</p>
  
  <p>web.php</p>
  
  <pre><code>Route::get('testa', 'HomeController@showTestForm')-&gt;name('test');
  Route::post('testa', 'HomeController@doTest');
  </code></pre>
  
  <p>HomeController :</p>
  
  <pre><code>public function showTestForm()
  {
      Log::warning('from showTestForm');    
      return view('test');
  }
  
  .public function doTest(Request $request)
  {
      Log::info('from doTest');    
      // return Input::all();
      return view('test', [
          'input' =&gt; implode(', ', Input::all()),
      ]);
  }
  </code></pre>
  
  <p>test.blade.php</p>
  
  <pre><code>&lt;form method="post" action="{{ route('test') }}"&gt;
  @csrf
  
  &lt;input type="text" name="inputvalue"&gt;
  &lt;button type="submit" class="btn btn-primary"&gt;
  merge
  &lt;/button&gt;
  
  &lt;/form&gt;
  
  &lt;div&gt;Result&lt;/div&gt;
  @if(isset($input))
  {{$input}}
  @endif
  </code></pre>
  
  <p>Why is working post on route('test') ?
  Thank you.</p>