title: laravel 5.2 redirect to url with parameters
body: <p>hi everyone :) i develop the form that get data from users and search with amazon api then i want to show results in another page , i just redirect to another page with my result parameters , but i cannot access to my parameters in new page , here is my code</p>
  
  <pre><code>            $search = new Search();
              $search-&gt;setCategory('Books');
              $search-&gt;setKeywords($searchItem);
              $search-&gt;setPage(2);
              $search-&gt;setResponseGroup(array('Large'));
  
              $response = $apaiIO-&gt;runOperation($search);
  
  
              $totalResult = $response['Items']['TotalResults'];
              $totalPage = $response['Items']['TotalPages'];
  
              $data = array(
                  'response' =&gt; $response,
                  'totalResult' =&gt; $totalResult,
                  'totalPage' =&gt; $totalPage,
                  'uni' =&gt; $unies,
              );
  
  
              return redirect('/searchItem')-&gt;with($data);
  </code></pre>
  
  <p>please help me to solve my problem, thank you :)</p>