title: Asp.net webservice method using post?
body: <p>I have created a web service method using the HTTP <code>get</code> method:</p>
  
  <pre><code>[WebMethod]
  [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
  public void logindata()
  {   
      string abc = "{\"Successfull\":\"1\"}";
      HttpContext.Current.Response.ContentType ="text/HTML";
      HttpContext.Current.Response.Write(abc);
  }
  </code></pre>
  
  <p>How do I change this method so that it uses <code>post</code> instead?</p>