Enviar dados de formulário com limites 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