Yogesh Shinde

Yogesh Shinde

  • 1.5k
  • 270
  • 3.2k

How to return CSV file from Input json data in ASP NET Core API

Nov 16 2021 4:04 PM

Hi Team,

I have a method like " public async Task<IActionResult> Jsontocsv(string jsos, string filename)" which takes input parameters as Json data and file name. I want to return the CSV file generated from this input JSON data.

The ASP NET core WEB API should return the CSV file generated from the Input JSON data.


Answers (1)