Upload Image from React Native to ASP.NET Core Web API【10 USD 1 Day】

Job ID: 37648477

Budget: $10 – $30 USD

The app is able to capture an image file from desktop. C# Backend code is mostly there.
Right now, encounting HTTP 400 error.

【Frontend】
const form = new FormData();
form.append('file', file);
form.append('PersonID', personID);
await api.post("/Album/Add", form);

【Backend】
[HttpPost, Route("Add")]
public async Task<IActionResult> AddPhoto([FromForm] Photo photo) {}

When an image is uploaded to an IIS server folder, you are done with this task.
You have to work remotely on my computer via 【TeamViewer】 or【AnyDesk】.
Related categories: ASP.NET React.js