How can I set up APIs to they work with HTML5?
-Anonymous
-Role based.
You need to configure this in appsettings.json:
"UserApiOptions": {
"RestrictedRoutes": [
"/api/private"
],
"PublicRoutes": [
"/api/anonym1",
"/api/anonym2"
]
},