Re: Restricting POST request size in Tomcat

2025-07-04 Thread Martin Konicsek
Hi Perplexity  wrote The maxPostSize attribute only applies to requests where Tomcat parses form data (e.g., application/x-www-form-urlencoded). For raw POST bodies (like application/json), maxPostSize may not be enforced by default in all Tomcat versions. If you need to restrict POST size fo

Restricting POST request size in Tomcat

2025-07-04 Thread S Abirami
Hi Team, We are looking into possibility of restricting the POST request size having content-type application/json in Tomcat. We want to ensure that attacker should not hit Rest API request directly with large request data. Expecting Tomcat application server level configuration should declin