added tabulator js files
This commit is contained in:
@@ -35,12 +35,15 @@ class ApiCalls
|
||||
$client_id = session('current_user.org_id');
|
||||
if ($url == 'sms/send') {
|
||||
// code...
|
||||
|
||||
$apps_url = "applications/client/$client_id?page=0&size=20&sort=createdAt,desc";
|
||||
$result = static::CurlGet($apps_url);
|
||||
$result_arr = json_decode($result);
|
||||
$api_key = $result_arr->content[0]->apiKey;
|
||||
$header_part = "Authorization: Bearer " . $api_key;
|
||||
$api_key = $result_arr->content[0]->apiKey;
|
||||
$header_part = "Authorization: Bearer " . $api_key; //env('SUNKING_APIKEY');
|
||||
}
|
||||
// dd($header_part);
|
||||
\Log::info('Request Params :' . $data);
|
||||
$curl = curl_init();
|
||||
curl_setopt_array($curl, array(
|
||||
CURLOPT_URL => $post_url,
|
||||
|
||||
Reference in New Issue
Block a user