public static string makePOST(PostSubmitter post) { string result = ""; post.Type = PostSubmitter.PostTypeEnum.Post; result = post.Post(); return result; }
public static string makeGET(PostSubmitter post, string strSessionKey, HttpSessionState session, ref BFConfiguration configuration ) { string result = ""; post.Type = PostSubmitter.PostTypeEnum.Get; post.strSessionKey = strSessionKey; post.cookieContainer = configuration.cookieContainer; result = post.Post(); return result; }