title: How can I send a cookie from a Web.Api controller method
body: <p>I have a Web.Api service which has a method that accepts a custom class and returns another custom class:</p>
  
  <pre><code>public class TestController : ApiController
  {
      public CustomResponse Post([FromBody]CustomRequest request)
      {
          // process request
          ...
          // create response
          CustomResponse resp = new CustomResponse() { ... };
          return resp;
      }
  }
  </code></pre>
  
  <p>Now I want to also send a cookie back as part of the Http response. How can I do that?</p>