byte[] data = System.Text.Encoding.ASCII.GetBytes("id=1");

            System.Net.WebRequest request = System.Net.HttpWebRequest.Create(
            "http://localhost:54943/api.asmx/usersgetir");
            request.Method = "POST";
            request.ContentLength = data.Length;
            request.ContentType = "application/x-www-form-urlencoded";

            System.IO.Stream str = request.GetRequestStream();
            str.Write(data, 0, data.Length);
            str.Flush();
            System.Net.WebResponse response = request.GetResponse();
            System.IO.StreamReader reader = new System.IO.StreamReader(response.GetResponseStream());
            string result = reader.ReadToEnd();