Q:

Uploading files using the Postman binary method to asp.net MVC controller cannot receive files?

In the Postman tool, using the Form-data method to upload files to asp.net MVC controller can receive files normally, but using the binary method to upload file controller Action method Request.Files Unable to receive the file, excuse me where is the mistake?
For example, controller action:
public class UploadFilesController : Controller
{
    // GET: UploadFiles
    public ActionResult Index()
    {
        return View();
    }

    [HttpPost]
    public ActionResult Test()
    {
        if (Request.Files.Count > 0)
        {
            var file = Request.Files[0];

            return Json("OK! Received file");
        }
        else
        {
            return Json("No file Received");
        }

    }
}

The following is the Postman binary method upload file icon:

A:

I don't think that it's possible to send the image/file as binary from postman, and have it readable in Request.Files in your controller action.
If you open the postman console (Alt + Ctrl + C or View -> Show Postman Console), you can see the request data, as well as the response.
Sending a file in the normal fashion, using form data, you can see that the body of the request has a lot of information about the file:

When sending a file using the binary method, the request body is undefined:

So, when the request is received by the controller, it doesn't know how to interpret this undefined data. I'm not saying that it's impossible to extract the file from the raw input stream, but there's a lot of data that's posted in the form data, that isn't posted in binary, that helps the controller to understand the request.

