Angular 5 httpclient by default provides support for CSRF. However, not sure how to turn this feature on.
Is it by,
- Adding create cookie in Global.asax in my Asp.Net MVC server side code?
- Adding "@Html.AntiForgeryToken()" in the index.cshtml page and reading it in my API controller?
Thank you.