I have created webapi in .net core and it is returning simple string message to angular front end. Below is details of that.
API is returning message in this format :