-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow creating model and saving file in one request #45
Comments
Maybe integrate the ImageView from HN directly too? |
@abzainuddin But file uploads require a I can see two possible ways to achieve this:
|
POSTing base64 might be slow, especially for bigger files / mobile devices. I would prefer option 2. |
Would option 2 be reasonable to implement in the FE? |
@mmoreaux yes (Burhan asked me to approve this). So in the form data there would be a |
@SpaceK33z Something like that, yes. Would that be OK? The details will probably differ a bit, e.g. to accommodate multiple images on a single entity, or on a single multiput. But that mainly involves having unique names for the file parts, and attaching them to the proper file field. Maybe like this:
form-data
form-data form-data (having the |
Yes, that would be okay. |
Now you have to:
Maybe some special sauce for multiput?
The text was updated successfully, but these errors were encountered: