Avinash Nair
Avinash Nair

Reputation: 2074

HTTP Post method, maximum bytes/data we can submit?

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

Answers (1)

Jerry B
Jerry B

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

Related Questions