Vedran
08/18/2024, 10:25 AM@PostMapping(consumes = [MediaType.MULTIPART_FORM_DATA_VALUE])
suspend fun createGame(
@RequestPart(name = "file") file: MultipartFile,
@RequestPart(name = "game") game: String
): GameDto {
I keep getting 415, "message": "Content type 'image/png' not supported for bodyType=org.springframework.web.multipart.MultipartFile",Raimund Klein
08/18/2024, 12:52 PMVedran
08/18/2024, 7:16 PM