title: How to send x-www-form-urlencoded in a post request in webclient?
body: <p>I know I can send json but I couldn't find how to send x-www-form-urlencoded. I don't know what to try as I couldn't find anything.</p>
  
  <pre><code>WebClient wc = new WebClient();
  
  
  string data = "channel_id=+12039273888&amp;channel_type=phone&amp;channel_verification=514950";
  
  wc.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded";
  
  string result = wc.UploadString("http://3.86.171.88/api/login", data);
  
  System.Console.WriteLine(result);
  </code></pre>