.NET Core 2: How to check if the request is MIME multipart Content?
ASP.NET MVC Core uses the IFormFile
interface to bind multipart HTTP requests. If the request does not use multipart/form-data, the documentation states that the bound value will be null.