DevStreams icon indicating copy to clipboard operation
DevStreams copied to clipboard

Add ValidateAntiForgeryToken Attribute on Post methods

Open Franklin89 opened this issue 5 years ago • 0 comments

Since we are posting the data through axios we have to manually add the AntiForgeryToken to the request as a cookie or as a header value to leverage the ASP.NET Core functionality.

Check out this post, it solves a similar issue.

Franklin89 avatar Mar 04 '19 14:03 Franklin89