public static string PostWebRequest(string url, string parameters) { var webResponse = PageInvoker.GetResponse(url, HttpMethod.POST, parameters); return(PageInvoker.GetResponseContent(webResponse)); }
public static string ExecuteWebRequest(string url) { var webResponse = PageInvoker.GetResponse(url, HttpMethod.GET, null); return(PageInvoker.GetResponseContent(webResponse)); }