In this article, we will create a Web API project in .NET Core and we will learn how to return an image while you hit an API. You would have seen earlier how to return a string response or an object response using Web API. Today we will learn how to return an image from a web API. We will use .NET Core as the framework to develop this Web API. I will be using Visual Studio 2017 for this development activity.
source https://www.c-sharpcorner.com/article/how-to-return-an-image-result-from-web-api-using-net-core/
No comments:
Post a Comment