add consumes type

This commit is contained in:
Ludy87 2025-04-23 10:05:47 +02:00
parent 4dfd2d2275
commit af80a09bcb

View File

@ -51,7 +51,7 @@ public class PipelineController {
this.postHogService = postHogService;
}
@PostMapping("/handleData")
@PostMapping(value = "/handleData", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
public ResponseEntity<byte[]> handleData(@ModelAttribute HandleDataRequest request)
throws JsonMappingException, JsonProcessingException {
MultipartFile[] files = request.getFileInput();