Advertisement
Guest User

Untitled

a guest
Aug 27th, 2016
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. request.Proxy = Helper.GetProxy(proxyIndex);
  2.  
  3. request.AllowAutoRedirect = true;
  4. request.KeepAlive = true;
  5. request.Cookies = new CookieDictionary();
  6. request.Referer = @"https://domain.com";
  7. request.UserAgent = HttpHelper.RandomUserAgent();
  8. string content = request.Get("https://domain.com").ToString();
  9. Console.WriteLine(content);
  10.  
  11.  
  12. response = request.Post("URL POST", "VALUE POST");`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement