Uploading multiple files with rest api

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Uploading multiple files with rest api

Suraj Thapa FC
I want to upload Multiple files without using models to a specific folder in rest api

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPjsHcFUNx3oQcteyhHja7xk7tKPN59DVOP7Z1Z9LL2k_EU8uQ%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading multiple files with rest api

Bhoopesh sisoudiya
Well No problem one solution is that

Setp 1. Create form object in JavaScript.
Setp 2. Add multiple files in form object.
Setp 3. Send this form object in request with method like POST.
Setp 4. Iterate each file and save in prefer location.

On Fri, Aug 16, 2019, 1:57 PM Suraj Thapa FC <[hidden email]> wrote:
I want to upload Multiple files without using models to a specific folder in rest api

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPjsHcFUNx3oQcteyhHja7xk7tKPN59DVOP7Z1Z9LL2k_EU8uQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAk3c1MonF_VrC6ho76HkV2q5MyRrzvj0YqKYA7O%3DTB1s9tuJQ%40mail.gmail.com.