BetterCMS
BetterCMS copied to clipboard
API authorization
I Change Configuration to forbidden anonymous user access to API bur now i can't call web api in postman to test it.
<allow verbs="GET,POST,PUT,DELETE" roles="BcmsAdministration"/>
<deny users="*"/>
</authorization>
</system.web>
<!-- Required for IIS 7.0 -->
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add path="bcms-api*" name="ServiceStack.Factory" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" />
</handlers>
</system.webServer>
How can i connect to web api with authorization?