Skip to content

Submit with my form using axios and handle response #504

Open
@mohammedpatla

Description

@mohammedpatla

As i could not find an example for this i am raising a question.

I am trying to upload files with a form. I already have a JSON object ready(with my form data using formData.append()) to send with a POST function. I am wondering how do i post these images from the dropzone with my data to a server using axios on sendingEvent(file, xhr, formData)?

Or is it not supported? Also if i cant do that how do i handle a response from the dropzone on POST?

EDIT: Should note that i have disable que and am using this.$refs.myVueDropzone.processQueue(); on submit form option. My main concern is if it fails because of form error i will get a response back to my post.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions