I\'m writing a web api that have a post method accepting files from uploaded from UI.
public async Task> PostAsync() {
First: Postman have a bug in handling file-based requests.
You can try adding this to your WebApiConfig.cs it worked for me:
WebApiConfig.cs
GlobalConfiguration.Configuration.Formatters.XmlFormatter.SupportedMediaTypes.Clear();