0

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

Avinash Nair
  • 1,984
  • 2
  • 13
  • 17

1 Answers1

3

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.

Jerry B
  • 135
  • 1
  • 9