title: Call REST API from C#
body: <p>I have a REST based API developed in JAVA. Now I am trying to call that API from a console based C# application i.e. from it's main function. I want to know is it possible to do that.
  I have tried something but its not working</p>
  
  <p>//I have written the below code in my class file. But the I can't find the RestClient class. What do I need to include this</p>
  
  <pre><code>static void Main(string[] args)
          {
               {
  
                   string endPoint = @"http:\\myRestService.com\api\";
                   var client = new RestClient(endPoint);
                   var json = client.MakeRequest();
                }
           }
  </code></pre>