ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,645 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I use ASP NETCore 6, How to create an API controller that will handles multipart/data with the following keys:
tifFile --> File
hostName --> string
accessCode --> string
I tried the following using postman, it goes there but I don't have an idea on how to extract the key and its value?
[HttpPost]
[Route("/api/AWS/Upload")]
[AllowAnonymous]
public async Task awsUploadAsync()
{
// how to get the tifFile, hostName, and accessCode value here
}