How to get file data from an uploader?

How do you get the file data from an uploader?

I want to send the file and a field to the server. How can I do this?

https://snippet.webix.com/7bwx8567

Okay the solution was to use formData to send additional data when uploading a file.

https://docs.webix.com/api__ui.uploader_formdata_config.html