Support Topics Documentation Slack YouTube Blog

Extend File Service upload event handlers to include form data

(Kim Brandwijk) #1

Currently, when posting a file using multipart/form-data using the REST endpoint, any additional form fields that are posted are lost. They do not become part of the req object, available in the event handlers.

If this data becomes part of the req object, it will make it easier to post a file with additional metadata in one server roundtrip, saving the metadata to a data table in the afterupload event handler.

(Stanislaw Grin) #2

Hi Kim,

thank you for sharing this idea.
I am sure we will take this into consideration and add to the roadmap.