Answers for "axios send file with data"

0

axios send file with data

const photoFormData = new FormData();
    // dict of all elements
    photoFormData.append("avatar", file);
    photoFormData.append("email", this.state.email);
    photoFormData.append("name", this.state.name);
Posted by: Guest on October-16-2021
0

axios send file with data

const photoFormData = new FormData();
    // dict of all elements
    photoFormData.append("avatar", file);
    photoFormData.append("email", this.state.email);
    photoFormData.append("name", this.state.name);
Posted by: Guest on October-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language