0

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)
    },

enter image description here

but in the request payload, the object is empty - why are the objects empty when I send them?

enter image description here

user2004
  • 1,783
  • 4
  • 15
  • 42

0 Answers0