Tag: fileupload
-
How to restrict users from uploading huge files in Spring Boot?
Let’s say you have created a REST API which accepts files as input. You deployed the API and users started uploading huge files and your server’s memory gets fast filled up. How do you prevent this? You can do this with zero code changes in Spring Boot. All you have to do is add a…