Example #1
0
        public static string PostWebRequest(string url, string parameters)
        {
            var webResponse = PageInvoker.GetResponse(url, HttpMethod.POST, parameters);

            return(PageInvoker.GetResponseContent(webResponse));
        }
Example #2
0
        public static string ExecuteWebRequest(string url)
        {
            var webResponse = PageInvoker.GetResponse(url, HttpMethod.GET, null);

            return(PageInvoker.GetResponseContent(webResponse));
        }