var d = document.getElementById("text");
d.innerText = resources.hello;
I started by creating a WebAPI controller and return a string through the Ok method. And end up with this:
I found an article by Mike Wasson (http://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/action-results). Where he creates a new IHttpActionResult.
With this new class. I can control the output. So it will be like this:
Post a Comment