title: Vuetify Send data from form with Axios
body: <p>I am using Vuetify in my VueJs project and I need to send data from my form in which I am uploading a file (CSV) and got some number inputs. I need to do that with Axios. </p>
  
  <p>I've tried to do something but always got a 404.</p>
  
  <p>This is my Vuetify code:</p>
  
  <pre><code>&lt;v-form&gt;
      &lt;v-container&gt;
          &lt;v-row&gt;
              &lt;v-file-input
                  show-size
                  counter
                  multiple
                  label="Nacitaj CSV"
                  ref="myfile"
                  v-model="files"
              &gt;&lt;/v-file-input&gt;
          &lt;/v-row&gt;
  
              &lt;v-row&gt;
                  &lt;v-col&gt;
                      &lt;v-text-field
                          type="number"
                          label="zadaj cislo"
                      /&gt;
                  &lt;/v-col&gt;
                  &lt;v-col&gt;
                      &lt;v-text-field
                          type="number"
                          label="zadaj cislo"
                      /&gt;
                  &lt;/v-col&gt;
              &lt;/v-row&gt;
  
              &lt;v-row&gt;
                  &lt;v-col :cols="2"&gt;
                      &lt;v-btn
                          block
                          color="primary"
                          @submit="submitFiles"
                      &gt;
                          Submit
                      &lt;/v-btn&gt;
                  &lt;/v-col&gt;
              &lt;/v-row&gt;
      &lt;/v-container&gt;
  &lt;/v-form&gt;
  </code></pre>
  
  <pre><code>methods: {
          submitFiles() {
              if (this.files) {
                   let formData = new FormData();
                   // files
                   for (let file of this.files) {
                      formData.append("files", file, file.name);
                   }
                   // additional data
                   formData.append("test", "foo bar");
                   axios.post("/about", formData);
              }
  </code></pre>
  
  <p>I've tried the script which I found on internet but it wasn't working; also the script was only for the file.</p>