ok

Mini Shell

Direktori : /proc/self/root/home2/selectio/www/y1jobportal.in/admin/api/carrier-api/
Upload File :
Current File : //proc/self/root/home2/selectio/www/y1jobportal.in/admin/api/carrier-api/api.php

<?php
class carrier
{
    function expo_speed($requested_data)
    {
        $base_url="https://auroraa.site/expo-speed/dashboard/api/";
        $url = $base_url.'shipment-create.php';
        /******************************/
        $curl = curl_init();
        $data=array(
            'type' => 'shipment-create',
            'authorization_code' => ' jbjb-dskbl-dkbd-dknjb-dkjdkj',
            'awb_number' => $requested_data['awb_no'],
            'dp_code' => $requested_data['dp_code'],
            'client_id' => $requested_data['client_id'],
            'pincode' => $requested_data['pincode'],
            'customer_name' => $requested_data['customer_name'],
            'mobile_number' => $requested_data['mobile_number'],
            'address' => $requested_data['address'],
            'no_of_box' => $requested_data['no_of_box'],
            'picklist_no ' => $requested_data['picklist_no'],
            'invoice_value ' => $requested_data['invoice_value'],
            'weight ' => $requested_data['weight']);
        curl_setopt_array($curl, array(
          CURLOPT_URL => $url,
          CURLOPT_RETURNTRANSFER => true,
          CURLOPT_ENCODING => '',
          CURLOPT_MAXREDIRS => 10,
          CURLOPT_TIMEOUT => 0,
          CURLOPT_FOLLOWLOCATION => true,
          CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
          CURLOPT_CUSTOMREQUEST => 'POST',
          CURLOPT_POSTFIELDS => $data,
        ));
        $response = curl_exec($curl);
        curl_close($curl);
        return $response;
    }//expo speed function close 
    
    
}//class close

?>

Zerion Mini Shell 1.0