I am trying to send an object that contains attached files to server. Before calling the HTTP method, the object is populated with the attached files
createIncident(data: any) {
console.log(data)
return instance.post(`v2/newIncident`, data).then(response => response)
},
but in the request payload, the object is empty - why are the objects empty when I send them?