Skip to content

Add ValidateAntiForgeryToken Attribute on Post methods #46

@Franklin89

Description

@Franklin89

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions