How to Post a file using Fiddler to WebAPI using C#?

前端 未结 1 956
太阳男子
太阳男子 2021-01-26 02:52

I am new to ASP.NET Web API. I have a sample FileUpload web api (from some site) to upload files to the server. But, don\'t know h

相关标签:
1条回答
  • 2021-01-26 03:09

    Go to fiddler, select post type, give your local web api url. In request body just upload file and execute, it will go to webapi method directly. Controller method should be [HttpPost]

    0 讨论(0)
提交回复
热议问题