skip to Main Content
(31) 98739-9637

ASP.NET Calling WebMethod with jQuery AJAX “401 (Unauthorized)”

ASP.NET Calling WebMethod with jQuery AJAX “401 (Unauthorized)”

 

Inside ~/App_Start/RouteConfig.cs change:

settings.AutoRedirectMode = RedirectMode.Permanent;

To:

settings.AutoRedirectMode = RedirectMode.Off;

Fonte: https://stackoverflow.com/questions/23033614/asp-net-calling-webmethod-with-jquery-ajax-401-unauthorized

Deixe uma resposta

Back To Top
Abrir WhatsApp
Posso te ajudar?
Olá, posso te ajudar?