HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
🤩
개발
/
Spring
Spring
/
Form Data 처리

Form Data 처리

Controller에서 form-data 여러 파일과 json list string 같이 받기
JSON with MultipartFile
@PostMapping(value = "/test") public ResponseEntity<Void> test(@RequestPart("files") List<MultipartFile> files
 

Multipart File file size limit 조절

spring: servlet: multipart: max-file-size: 10GB max-request-size: 10GB server: tomcat: max-http-form-post-size: 10GB