title: Return HTML from ASP.NET Web API
body: <p>How to return HTML from ASP.NET MVC Web API controller?</p>
  
  <p>I tried the code below but got compile error since Response.Write is not defined:</p>
  
  <pre><code>public class MyController : ApiController
  {
      [HttpPost]
      public HttpResponseMessage Post()
      {
          Response.Write("&lt;p&gt;Test&lt;/p&gt;");
          return Request.CreateResponse(HttpStatusCode.OK);
      }
   }
  </code></pre>