title: How to get response using cURL in PHP
body: <p>I want to have a standalone PHP class where I want to have a function which calls an API through cURL and gets the response. Can someone help me in this? </p>
  
  <p>Thanks. </p>