Exemplo n.º 1
0
        internal HttpPostDataCollection AppendCredentialsToPostDataCollection(HttpPostDataCollection postDataCollection, CloudFlareCredentials credentials)
        {
            postDataCollection.Add("tkn", credentials.ApiKey);
            postDataCollection.Add("email", credentials.EmailAddress);

            return(postDataCollection);
        }
Exemplo n.º 2
0
 internal HttpPostDataCollection AppendApiActionToPostDataCollection(HttpPostDataCollection postDataCollection, ApiAction action)
 {
     postDataCollection.Add("a", EnumerationUtility.GetStringValue(action));
     return(postDataCollection);
 }