public string GetUrl(string path, bool ssl) { if (path.StartsWith ("/")) { path = path.Substring (1); } Parameters parameters = new Parameters (); parameters.Add (USERNAME, Username); parameters.Add (API_KEY, ApiKey); return GetUrl(path, ssl, parameters); }
public Result AddAudienceListMembership(string email, string list) { Parameters parameters = new Parameters (); parameters.Add(Parameters.EMAIL, email); string path = String.Format ("/audience_lists/{0}/add", HttpUtility.UrlEncode (list)); return Post (path, parameters); }