SHARE
TWEET

Untitled

a guest Dec 19th, 2018 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. private async void  run_cmd(string inp1, string inp2, string inp3)
  2.         {
  3.  
  4.             var values = new Dictionary<string, string>
  5.             {
  6.                { "user", inp1 },
  7.                { "do", inp3 },
  8.                { "link", inp2 }
  9.             };
  10.  
  11.             var content = new FormUrlEncodedContent(values);
  12.  
  13.             var response = await client.PostAsync("http://justajoke.pythonanywhere.com/", content);
  14.  
  15.             var responseString = await response.Content.ReadAsStringAsync();
  16.  
  17.             richTextBox1.Text = responseString;
  18.  
  19.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top