I am using Godaddy hosting and I have come across the problem where I am sending data to the database. When I try to send data which size is around 4kB than it works perfectly. However, sending data that exceed 600kB or something around that, it just stops working. I got the Unexpected response code 413. I had made changes to the .htaccess file. It looks like this:
<IfModule mod_rewrite.c>
RewriteEngine on
# Allow Installatron requests
RewriteCond %{REQUEST_FILENAME} deleteme\.\w+\.php
RewriteRule (.*) - [L]
RewriteBase /
RewriteRule ^(\.well-known/.*)$ $1 [L]
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 300
php_value max_input_time 300
</IfModule>
Any ideas? thanks for your time.