what is the correct headers to complete my cURL request
Hoping someone can help. I have never used cURL in oracle before, and i think i just need a pointer
I am running this script from the file manager
i get the session
----
$account = AgentAuthenticator::authenticateCookieOrCredentials($userName, $password);
/********************* end agent authentication ***************************/
//Set up variables for use in Ajax calls
$acct_id = $account['acct_id'];
$session = $account['session_id'];
----
and i build the options up
----
curl_setopt_array($curl, array(
CURLOPT_VERBOSE => true,
CURLOPT_URL => 'https://tradsuploc.custhelp.com/services/rest/connect/v1.4/analyticsReportResults/',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_FOLLOWLOCATION => true,