title: Codeigniter POST is empty when image data is sent
body: <p>I am using <a href="https://github.com/chriskacerguis/codeigniter-restserver" rel="nofollow noreferrer">Rest Controller library</a> in Codeigniter project for my APIs. For one of the Post Services, I have the data, something like this</p>
  
  <pre><code>{
      title: "My Test Title",
      category: "Sports",
      description: "&lt;p&gt;This is my Html Based description&lt;p&gt;",
      image: "data:image/png;base64,..............(the complete image data)"
  }
  </code></pre>
  
  <p><strong>Problem</strong><br>
  Whenever, I send data to the server along with <code>image</code>, <code>$_POST</code> becomes empty. When I remove <code>image</code>, things work perfectly fine.   </p>
  
  <p><strong>What I have tried</strong><br>
  1. I have used <code>$_POST</code>, <code>$this-&gt;post()</code>, <code>$this-&gt;input-&gt;post()</code>, all are empty.<br>
  2. Content length is <strong>183.91KB</strong>, while the <code>post_max_size</code> is <strong>8M</strong>.<br>
  3. In my .htaccess file, I have used <code>RewriteRule ^(.*)$ index.php/$1 [PT,L]</code> as well.  </p>
  
  <p>Can anyone please help, how can I get the data in normal flow without using <code>file://input</code>?</p>
  
  <p>It works fine when Api is called on localhost.</p>