C# How to post an entity with a file as form-data from HttpClient to API?

后端 未结 0 475
有刺的猬
有刺的猬 2021-02-13 15:29

I\'ve got an ASP.NET Core API that receives an entity like this:

public class ChartDTO
{
    public string Name { get; set; }
    //public byte[] Image { get; set         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题