I send a multipart form ti an api endpoint containing a file and several other fields. Before i stream the file to my storageprovider i need to specify some aditional data from the form into the storage (like filetyoe etc.). But ctx.meta.$multipart is an empty object at the time i call my storage function.
So i tested the handler action with the following code:
I send a multipart form ti an api endpoint containing a file and several other fields. Before i stream the file to my storageprovider i need to specify some aditional data from the form into the storage (like filetyoe etc.). But ctx.meta.$multipart is an empty object at the time i call my storage function.
So i tested the handler action with the following code:
Result: The ctx.meta.$multipart is empty while streaming the data and only filled after the stream has ended.