Simple API that receive MultipartData File with parameter in ASP.net Web API
This article demonstrate how to create a Asp.net web API that receive file with parameter also get file name , content type and extension using System; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading.Tasks; using System.Web; using System.Web.Http; namespace LetstrackAPI.Controllers { public class UploadFileController : ApiController { [ HttpPost ()] // [AllowAnonymous] public async Task < object > PostFile() { // Check if the reque...