Advertisement
dereksir

Untitled

Oct 19th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. using RestSharp;
  2.  
  3.  
  4. namespace TestApplication
  5. {
  6.     class Test
  7.     {
  8.         static void Main(string[] args)
  9.         {
  10.             var client = new RestClient("https://api.zenrows.com/v1/?apikey=<YOUR_ZENROWS_API_KEY>&url=https%3A%2F%2Fhttpbin.io%2Fanything&js_render=true&antibot=true");
  11.             var request = new RestRequest();
  12.  
  13.             var response = client.Get(request);
  14.             Console.WriteLine(response.Content);
  15.  
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement