Is there any limit in terms of amount of data that can be sent with HTTP POST ?
I have seen in some emails there is limit of 25 MB or 20 MB for attachments..,but I think they are imposed by the server or application...
In terms of plain HTTP is there any limit....
Also, is there any limit in terms of size of value of a field as well?
And why large values in hidden fields are not a good thing, or is it?
POST method does not have any limit on the size of data.
The Request Payload - or to be more precise: payload body of a HTTP Request. is the data normally send by a POST or PUT Request. It's the part after the headers and the CRLF of a HTTP Request.
REST API call limits The maximum payload limit for a single API call is 45 MB, so ensure that the aggregate size of the records in a request do not exceed this limit.
There's really no straight forward way to do measure the size of the http request sent to the server - primarily because the entire request is not assembled inside your program (which is where you will be calculating the size of the request).
Post data limits are set by the application on the server that the file is uploaded to. Just to give you something concrete to think about, here is a discussion on about max_filesize from the php manual, http://www.php.net/manual/en/features.file-upload.common-pitfalls.php . Many websites use php's builtin functions and that link describes how the upload function is setup by default. Of course the defaults are different for each web platform such as if they use a ruby on rails or python based one.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With