title: get URL Parameter from Laravel blade to controller
body: <p>I already have provided my blade with a link that passes a parameter.</p>
  
  <pre><code>&lt;a href="{!! route('search',['id'=&gt;2]) !!}"&gt;{{$value}}&lt;/a&gt;
  </code></pre>
  
  <p>The only problem I have now is how to get the parameter to the controller.
  I do it like this</p>
  
  <pre><code>public function search(Request $request){
       $sid = $request-&gt;get('id');
  }
  </code></pre>
  
  <p>But I'm not getting any value from $sid. How should I do it?</p>
  
  <p>sorry I forgot to mention that there is already a route set.</p>
  
  <pre><code>Route::post('search', 'Search@search')-&gt;name('search');
  </code></pre>