title: Is there a way to Redirect with GET Parameters in October CMS?
body: <p>I have a component which has an Ajax Handler. At the end of this handler I would like to redirect the user to a page with GET Parameters.</p>
  
  <p>Example:</p>
  
  <ul>
  <li>User goes to page www.example.com/hello</li>
  <li>He clicks on button with Ajax Handler onClicked()</li>
  <li>Users browser gets redirected to www.example.com/redirect?id=1</li>
  </ul>
  
  <p>In the Ajax Handler some code will return an ID which is from an REST API. The same Handler knows also about the page to redirect to (which can be set in the Backend Settings).
  I tried to find something in the October CMS Documentation. The only thing I found was the Redirect Class which can redirect to a given page but I couldn't find a way to set the GET Query parameters</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;form id="sample-form" data-request-validate data-request="onOrder"&gt;
      &lt;input type="hidden" name="sample" value="{{ sample.id }}" /&gt;
      &lt;button type="submit"&gt;Get Sample&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>AJAX Handler</p>
  
  <pre class="lang-php prettyprint-override"><code>public function onOrder() {
      $sample = Sample::findOrFail(input('sample'));
      // API Call returns ID $id
      return Redirect::to(Settings::get('redirectUrl')-&gt;with('id',$id);
  }
  </code></pre>
  
  <p>I expect the user to be redirected to the given Url with GET Query</p>
  
  <p>Anybody an idea how to make this work?</p>