Advertisement
dereksir

Untitled

Mar 23rd, 2024 (edited)
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.39 KB | None | 0 0
  1. using RestSharp;
  2. namespace TestApplication {
  3.     class Test {
  4.         static void Main(string[] args) {
  5.             var client = new RestClient("https://api.zenrows.com/v1/?apikey=key&url=https%3A%2F%2Fhttpbin.io%2Fanything");
  6.             var request = new RestRequest();
  7.  
  8.             var response = client.Get(request);
  9.             Console.WriteLine(response.Content);
  10.         }
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement