资讯

Other types: in this case, your Web API would take advantage of the appropriate media formatter to serialize and return data from the Web API controller method with a response status code of 200.
This article presents a discussion of how we can return data in ASP.NET Core Web API using each of those types, with relevant code examples in C#.