More interesting would be to see your actual form source code in twig, for example:
<form autocomplete=“off” method=“post” action="{{ path_for(‘search’, {‘lang’ : lang}) }}" name=“appsearch” id=“appsearch”>
I don’t know what other people do, but my action points to a named route, which additionally in my case includes a language param.
I posted a normal html-form.
This actually filled $_FILES and therefore also getUploadedFiles().
The header from the succesful html-form : “Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryYGlIpt9b7IesaLgK”
While the angular has only “Content-Type: multipart/form-data”, but has a request-payload with : “------WebKitFormBoundarylqfoeflquuI28Il0
Content-Disposition: form-data; name=“logostream”; filename=“sunsmaller (kopie).png”
Content-Type: image/png
------WebKitFormBoundarylqfoeflquuI28Il0–”
Why the angular approach does not or why the method differs I do not know yet. This I have to find out. The angular approach did work in Slim3.
A already know the problem. I accidentally added " Content-Type:application/json; charset=utf-8", thus the stream was in the payload instead of the header. It was a client-side problem. Thanks for the help anyway!