undefined constant CURLOPT_GET - assumed 'CURLOPT_GET'
Try using CURLOPT_HTTPGET
though I am not sure if it serves your purpose.
There is nothing like CURLOPT_GET
in the options for cURL
that's why that error occured. Take a look at CURL options