SpringBoot, PUT request limit request size

I am starting spring-boot service with tomcat insert container.

Is there a way to limit the size of the HTTP PUT request through the general application properties or the EmbeddedServletContainerFactory? Thanks to

+3


source to share


1 answer


Add this property to your application.properties file.

spring.http.multipart.max-request-size=10MB

      



See below for details:

https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

+1


source







All Articles