[Vuejs]-How to use vuetify to send pdf/word document to .net core api

0👍

I am not going to answer your, question, but I will format your code, so maybe someone else will:

<v-file-input @change="addUploadedfiles" v-mode="uploaded_file">

data() {
  retrun{
    formData: {
      status: 'new',
      subject: '',
      name: '',
      uploaded_file: [],
    }
  }
}

methods: {
  addUploadedfiles(){
    this.uploaded_file.forEach((file)=>{file_content: this.uploaded_file})
  }
}

http.post("/submitform", this.data)

Leave a comment