title: PHP REST client API call
body: <p>I'm wondering, is there an easy way to perform a REST API GET call? I've been reading about cURL, but is that a good way to do it? </p>
  
  <p>I also came across php://input but I have no idea how to use it. Does anyone have an example for me?</p>
  
  <p>I don't need advanced API client stuff, I just need to perform a GET call to a certain URL to get some JSON data that will be parsed by the client.</p>
  
  <p>Thanks!</p>