title: API REST requests with C#, I hardcoded the URL, but I have several URL on my database that I want to retrieve it from?
body: <p>This is my API request, I want to get the URL from my database. In here I hardcoded it but I want to make it dynamic, If you can please help me and I will be appreciated. </p>
  
  <pre><code>public static string APICall(string jsonData)
  {
      var client = new RestClient("https://url.com");
  
      var request = new RestRequest(Method.POST);
  
      //new RestRequest("resource", Method.POST);          
      request.Parameters.Clear();
      request.AddHeader("Accept", "application/json");
      request.AddHeader("Content-Type", "application/json");
      request.RequestFormat = DataFormat.Json;
      // more code...
  }
  </code></pre>