title: How can I check if request was a POST or GET request in codeigniter?
body: <p>I just wondered if there is a very easy way to determine whether the request is a <code>$_POST</code> or a <code>$_GET</code> request.</p>
  
  <p>So does <code>Codeigniter</code> have something like this?</p>
  
  <pre><code>$this-&gt;container-&gt;isGet();
  </code></pre>