title: Route in Laravel to send data into url
body: <p>When we want to send data into url for example:</p>
  
  <pre><code>http://localhost:8000/routine/6
  </code></pre>
  
  <p>we use route like:</p>
  
  <pre><code>Route::get('/routine/{id}',array('as' =&gt;'routine'), function($id)
  {
      //code here
  });
  </code></pre>
  
  <p>Now I have a problem when I am trying to send data like this:</p>
  
  <pre><code>http://localhost:8000/routine.php?data=Data1&amp;data2=Data120
  </code></pre>
  
  <p>what will be the route in Laravel???</p>
  
  <p>and how to get this data?????</p>