undefined constant CURLOPT_GET - assumed 'CURLOPT_GET' undefined constant CURLOPT_GET - assumed 'CURLOPT_GET' curl curl

undefined constant CURLOPT_GET - assumed 'CURLOPT_GET'


Try using CURLOPT_HTTPGET though I am not sure if it serves your purpose.

More detail can be found here


It happens when phpxxx-curl was not installed in your machine


There is nothing like CURLOPT_GET in the options for cURL that's why that error occured. Take a look at CURL options