Try to declare UseHttpGet over your method.
[ScriptMethod(UseHttpGet = true)]
public string HelloWorld()
{
return "Hello World";
}
More Related Contents:
- Calling an ASP.NET server side method via jQuery
- Call ASP.NET PageMethod/WebMethod with jQuery – returns whole page
- Capturing SOAP requests to an ASP.NET ASMX web service
- calling an ascx page method using jquery
- Request format is unrecognized for URL unexpectedly ending in
- How to use jQuery to call an ASP.NET web service?
- jqgrid Page 1 of x pager
- Getting RAW Soap Data from a Web Reference Client running in ASP.net
- Making a WCF Web Service work with GET requests
- Trying to make Web Method Asynchronous
- What is limiting the # of simultaneous connections my ASP.NET application can make to a web service?
- can jquery ajax call external webservice?
- Need to execute *.exe in server from ASP.net
- Jqgrid 3.7 does not show rows in internet explorer
- jqgrid add row and send data to webservice for insert
- asp.net asmx web service returning xml instead of json
- Why global.asax Application_Error method does not catch exceptions thrown by ASMX service?
- How do I fix a “Request format is unrecognized for URL…” error in a web service running in IIS?
- When should a web service not be used?
- Why do ASP.NET JSON web services return the result in ‘d’?
- web.config and app.config confusion
- asmx web service, json, javascript/jquery?
- Differences between App.Config and Web.Config?
- Why are Static Methods not Usable as Web Service Operations in ASMX Web Services?
- Are Parameters really enough to prevent Sql injections?
- Receiving login prompt using integrated windows authentication
- How to pass a datetime parameter?
- How to get Client Machine’s Mac Address in a Web application
- ASP.net MVC4 WebApi route with file-name in it
- ASP.Net Checkbox value at postback is wrong?