Kirim Data Formulir dengan Batas Axios

const form = new FormData();
form.append("form-field1", value1);
form.append("form-field2", value2);

const res = await axios.post({'http://www.yourserver.com/upload',
    form,
    headers: {
        'Content-Type': `multipart/form-data; boundary=${form._boundary}`,
    },
});
Tender Tarantula