Here Mudassar Khan has explained with an example, how to solve the error which occurs when using AntiForgery Token with jQuery AJAX in ASP.Net MVC.
The required anti-forgery form field "__RequestVerificationToken" is not present.
The above error is caused when AntiForgery Token is not correctly passed to the Controller when with jQuery AJAX in ASP.Net MVC.
↧