Not possible right now, sorry… Unfortunately, this part has never been specified so far. I remember that, back then, I was asking for feedback on the "simple" solution we realized. As everyone seemed to be happy, we didn’t extend it.
It would be nice if we found a way to extend the current solution without endangering backward compatibility; suggestions are welcome.
On Fri, Sep 23, 2016 at 10:07 AM, Maximilian Gärber mgaerber@arcor.de wrote:
Hi,
I can't find where I would access the other entries returned by a file upload.
What gets sent is
-----------------------------175432198730168 Content-Disposition: form-data; name="file"; filename="base.png" Content-Type: image/png
‰PNG as base64...
The file is in the $file map but how can I get the Content-Type for example?
%rest:POST("{$post}") %rest:form-param("file", "{$file}")
Regards,
Max