- [HttpGet]
- public IActionResult Get()
- {
- Byte[] b = System.IO.File.ReadAllBytes(@"E:\\Test.jpg");
- // You can use your own method over here.
- return File(b, "image/jpeg");
- }
How to parse the File response from API in mvc Core
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Piyush PansuriyaRank #454 · 5.5K reputationPosted Mar 2, 2020, 9:42 PM EST