What is the maximum limit in HTTP protocol for a POST request/response body's payload. Sending JSON over REST
http, java, rest, resttemplate, spring
Solution
No limit is specified in RFC 2616.
Problem
This is not a duplicate question. I have been googling around and have seen various statements about limits of the HTTP request/response bodies. I am using the RestTemplate of the Spring framework, and am concerned about the size of the json document being exchanged in the request and responses. I am using tomcat, and I have heard that I can change the http size to as High as I want. But my main concern is Limits of HTTP protocols. Can someone explain please? Thank you in advance.