title: Codeigniter: Send whole POST request to method of another controller
body: <p>I have a general controller which will get the <code>POST</code> request and decide to call known method of any controller. The controller will be chosen according to request.  </p>
  
  <p>Also I need to send whole <code>POST</code> request to chosen method without tampering.  </p>
  
  <hr>
  
  <p><strong>More Description</strong><br>
  Getting post request in <code>controller 1</code>, handling the request and decide to call <code>known_method()</code> of <code>controller X | X != 1</code>. Also sending primary request to the method.  E.g.  </p>
  
  <pre><code>public function index()
  {
      $post = $this-&gt;input-&gt;post();
  
      //handling the request and decide to call the following method of another controller
  
      Controller_X-&gt;known_method($post);
      //OR
      redirect("site_url/controller_X/known_method/{$post}");
  }  
  </code></pre>
  
  <p>But because sending <code>$post</code> as parameter as it will send as <code>GET</code> request, may tamper it's data, it's not practical way. Also storing in <code>session</code> and retrieve that in target method is not a good solution.  </p>
  
  <hr>
  
  <p><strong>Question:</strong> How I can send this data to my selected target?  </p>
  
  <p>Thanks in advance</p>