Convert complex js objects with files to FormData
I have a complex object with nested objects and arrays (of objects)
In the objects, that are in the Arrays, can be files.
I use Axios to send the data and everything, except the Files, works fine when I send my object to my API.
To upload also files, I tried to convert my object into FormData