I’m new to Dreamfactory. I just installed the DF2 beta, and is looking at how to handle file uploads. I understand I first need to create a Service for this purpose. However, when I try doing so, all I get is a “Validation failed” message, without any further explanation as to what’s wrong (see enclosed screenshot). Any ideas? The error message could be more helpful… Perhaps this is just an area that isn’t finished yet in the beta?
I have managed to manually access the local file storage through the admin UI, as well as upload a file, so the general local file system access seems to be working OK.
Finally, assuming I can get this working, where can I read about using PUT to stream large files onto the storage? All examples I’ve seen use POST for a form-based file upload. That’s OK for smaller files, but the app I have in mind may require very large files (GBs) to be uploaded, and then the form-based, BASE64 encoded method generally doesn’t work that well. Hence my nead to use PUT to push the file as the request’s body, rather than as a form field.
Thanks!
JM