I'm using Kendo-Upload in Angular:
<div class="flex flex-col max-w-375">
<kendo-uploaddropzone zoneId="uploadImagesZone">
Only JPEG and PNG files are allowed.
</kendo-uploaddropzone>
<kendo-upload zoneId="uploadImagesZone" [autoUpload]="false"
[saveUrl]="this.uploadImagesURL" [removeUrl]="this.removeImageUrl"
(remove)="onRemove($event)" (cancel)="onCancel($event)"
(success)="onUpload($event)" [restrictions]="myRestrictions"
[multiple]="true"
[showFileList]="true" responseType="text">
</kendo-upload>
</div>
I've validated that the value of "this.uploadImagesURL" is set correctly and clicking on UPLOAD hits the right endpoint (Java Spring REST API):
@PostMapping("image/{name}")
public ResponseEntity<ImageDetails> compressImage(@RequestBody MultipartFile image, @PathVariable final String name) {
}
I've tested this endpoint via Postman and verified that "image" does contain the image. Why does the value set to NULL when the endpoint is called via Kendo-Upload