title: size limit workaround for FormUrlEncodedContent
body: <p>I'm receiving the error:</p>
  
  <pre><code>System.UriFormatException: Invalid URI: The Uri string is too long.
  </code></pre>
  
  <p>The problem is with this line:</p>
  
  <pre><code>FormUrlEncodedContent content = new FormUrlEncodedContent(postData); 
  </code></pre>
  
  <p>Upon researching this I've learned it is because of a size limitation of the class <strong>FormUrlEncodedContent</strong>. But I'm not sure how I can workaround this? See code below:</p>
  
  <pre><code> public Token RequestToken(string username, int businessID, string requestXml)
      {
          var postData = new Dictionary&lt;string, string&gt;() { { "username", username }, { "businessID", businessID.ToString() }, { "authenticator", requestXml } };
          FormUrlEncodedContent content = new FormUrlEncodedContent(postData);          
  
          try
          {
              HttpResponseMessage response = _client.PostAsync("Token", content).Result;
              if (response.IsSuccessStatusCode)
              {
                  return response.Content.ReadAsAsync&lt;Token&gt;().Result;
              }
          }
          catch (Exception ex)
          {
              log.Error(ex);
          }
  
          return null;
      }
  </code></pre>
  
  <p>Can anyone help with this?</p>