Below is a simple example for GET and POST Request. GET Request // Get cURL resource $curl = curl_init(); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_URL, ‘’); // Send the request & save response to $resp $resp = curl_exec($curl); // Close request to clear up some resources curl_close($curl); If you want to send a parameter along in the request, simply append them in the URL. ex: POST Request Simply set the CURLOPT_POST option to