Skip to content

Add ValidateAntiForgeryToken Attribute on Post methods #46

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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