title: how do I unit test a post (web-api) call with a token?
body: <p>I have a httppost web api method. I need to pass in a token as an authorization header and collect the response.</p>
  
  <p>I am using web-api 2. My post method returns IHttpActionResult ok(model).</p>
  
  <p>I have tested the web-api using POSTMAN rest client, which works.</p>
  
  <p>I am stuck at a point, where in I am not able to write a UNIT-TEST to test my API. </p>
  
  <p>Also, can't I have the Unit test project and the web-api project in the same solution? I tried setting unit test project and web-api project as startup projects. But Unit test project is just a library so that would not work.</p>
  
  <p>Can someone please guide me through this ?</p>