I upgraded from slim 3 to 4. I made an rest-api for my frontend with angular 8. On the frontend I use
FormData to upload the image(https://academind.com/learn/angular/snippets/angular-image-upload-made-easy/). For slim 3 this worked. In Slim 4 $request->getUploadedFiles() returns an empty array. I read https://www.slimframework.com/docs/v4/cookbook/uploading-files.html and checked if there is a header “Content-Type:multipart/form-data”. The actual stream is in the request-payload. I surely do something wrong or forgot something. Has anyone some advice or tip?