title: use of application/x-www-form-urlencoded in POST method, HttpClient
body: <p>What if I have this data to send: Post parameters:</p>
  
  <p>access_token access_token_Value</p>
  
  <p>list Array of array(with 4 pairs of arg)</p>
  
  <p>arg1 arg1_value</p>
  
  <p>arg2 arg2_value</p>
  
  <p>arg3 arg3_value</p>
  
  <p>arg4 arg4_value</p>
  
  <p>and in specification is this (All possible enumerated values in both POST parameters and returned arrays are specified in this document and separated by vertical bars ||). I have Universal Windows app project. How convert this data to "application/x-www-form-urlencoded" format? To ordinary pairs like key-value i use</p>
  
  <pre><code>    var body = new List&lt;KeyValuePair&lt;string, string&gt;&gt;
      {
          new KeyValuePair&lt;string, string&gt;("arg1", "arg1value"),
          new KeyValuePair&lt;string, string&gt;("arg2", "arg2value"),
          new KeyValuePair&lt;string, string&gt;("arg3", "arg3value"),
          new KeyValuePair&lt;string, string&gt;("arg4", "arg4value")
      };
  
      var content = new FormUrlEncodedContent(body);
      var result = httpClient.PostAsync(uri, content).Result;
  </code></pre>
  
  <p>and this is ok (transmitted data: arg1=arg1value&amp;arg2=arg2value&amp;....), but what if the data are the same as I wrote at the beginning of this post?</p>