title: get a PUT request with Codeigniter
body: <p>I have a problem right now with CodeIgniter : I use the <a href="http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/" rel="noreferrer">REST Controller library</a> (which is really awesome) to create an API but I can not get PUT requests...</p>
  
  <p>This is my code :</p>
  
  <pre><code>function user_put() {
      $user_id = $this-&gt;get("id");
      echo $user_id;
      $username = $this-&gt;put("username");
      echo $username;
  }
  </code></pre>
  
  <p>I use curl to make the request :</p>
  
  <pre><code>curl -i -X PUT -d "username=test" http://[...]/user/id/1
  </code></pre>
  
  <p>The user_id is full but the username variable is empty. Yet it works with the verbs POST and GET.
  Have you any idea please?</p>
  
  <p>Thank you !</p>