Click here to Skip to main content
15,867,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have implemented Anti Forgery token with Angular 6. i am facing some issue after implementing that. i am able to validate token using [Validateantiforgerytoken] for fist time in POST request. But in sub sequent POST request we are getting 400 error. 


What I have tried:

If I manually validate token using validaterequestasync , it is not giving any exception but still showing 400 error.
Posted
Updated 2-Feb-21 19:58pm
v2

1 solution

I'm facing the same issue.
Did you have any solution for this issue?

Thanks for advance.
 
Share this answer
 
Comments
Richard Deeming 3-Feb-21 5:03am    
"Me too" is not a solution to anyone's question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900