title: Authorization has been denied for this request - New Web API Project
body: <p>I just created new Web API project (using MVC) in visual studio 2015 and for the testing purpose, I ran that project but ended up below error.</p>
  
  <p>After running the project, it brings up Home Page correctly but when I navigated to /api/values or /api/values/5, it gives me below xml message.</p>
  
  <pre><code>&lt;Error&gt;
      &lt;Message&gt;Authorization has been denied for this request.&lt;/Message&gt;
  &lt;/Error&gt;
  </code></pre>
  
  <p>Can someone please help? I am new to Web API.
  Please note that I don't want to remove the Authorize attribute. I would like to access the resource after authorization only. So I am looking for what is wrong.</p>