What is the size limit of an HTTP POST request?

It depends on a server configuration. If you’re working with PHP under Linux or similar, you can control it using .htaccess configuration file, like so:

#set max post size
php_value post_max_size 20M

And, yes, I can personally attest to the fact that this works 🙂

If you’re using IIS, I don’t have any idea how you’d set this particular value.

Leave a Comment