Always get "Authorization has been denied for this request." ASP.NET Web API

added by DotNetKicks
9/11/2017 1:41:45 PM

513 Views

I was creating an ASP.NET Web API today and when I called one of the Web APIs (/api/values) I got the following response: {"Message":"Authorization has been denied for this request."} It turns out by default 'Individual User Accounts" authentication is enabled by default. See Figure 1.


0 comments