public void SendGETRequest(string account, string password, string URL) { this.BasicAuthAccount = account; this.BasicAuthPassword = password; this.URL = URL; this.HasData = false; this.Method = HttpRequestOption.GET; SendRequest(); }
public void SendPATCHRequest(string account, string password, string URL, string JSONString) { this.BasicAuthAccount = account; this.BasicAuthPassword = password; this.URL = URL; this.JsonifyString = JSONString; this.HasData = true; this.Method = HttpRequestOption.PATCH; SendRequest(); }
//Jammy Add 20160315 public void SendPOST_File_Request(string account, string password, string URL, string FilePath) { this.BasicAuthAccount = account; this.BasicAuthPassword = password; this.URL = URL; this.FilePathString = FilePath; this.HasData = true; this.Method = HttpRequestOption.POST; UpdateFWRequest(); }