Ajax GET requests to an ASP.NET Page Method? Ajax GET requests to an ASP.NET Page Method? ajax ajax

Ajax GET requests to an ASP.NET Page Method?


For security reasons, ASP.Net AJAX page methods only support POST requests.


It is true that ASP.NET AJAX page methods only support POST requests for security reasons but you can override this behavior by decorating your WebMethod with this these both attribute:

[WebMethod][ScriptMethod(UseHttpGet = true)]

I felt that the accepted answer was incomplete without pointing out a work around.