My question is referring to this question.
The answer shows only solutions where you would have to change the type of the method to HttpResponseMessage or string.
This is my method:
public IHttpActionResult Get()
{
return Ok("I am send by HTTP resonse");
}
It returns:
"I am send by HTTP resonse"
I expect:
I am send by HTTP response
Is there a way to return a simple string without quotation mark where the return type of the method is IHttpActionResult?