Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

306
Views
Sending formData object from react typescript to .NET API, but received null in the backend

trying to send an array of FormData objects from React typescript to .NET API, but received null in the backend, I tried to add content type like multipart/formdata but still not working, I tried it from postman it works like this:

models[0].name:sub test 7
models[0].order:7
models[0].processID:176

models[1].name:sub test 5
models[1].order:5
models[1].processID:176

my frontend testing code:

 let models = [
    { name: "test1", order: 1, processID: 169 },
    { name: "test2", order: 2, processID: 169 },
];
let subProcessInputModels = new FormData();
subProcessInputModels.append("models", JSON.stringify(models));
SubProcessService.createSubProcess(subProcessInputModels).then((response) =>
  console.log("response", response)
)
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!