$curlCommand = "curl --location --insecure.." $response = shell_exec($curlCommand);
This solved my issue!