Reputation: 2074
I am trying to use HTTP Post to call a URL, I want know the limit of bytes i can write through post method. Is there a limit for the data you can send through HTTP Post method?
I am using HTTPUrlConnection
api java for posting data
Upvotes: 0
Views: 1756
Reputation: 135
There's usually no limit from the client side, the limit is set on the server side. For example Apache Tomcat uses maxPostSize, which is defaulted to 2M.
Upvotes: 3