'Test order', 'language' => 'en', 'courier_code' => 'usps', 'order_number' => '1234'];// Convertir les données en JSON$data_json = json_encode($data);// Initialiser cURL$ch = curl_init($url);// Définir les options cURLcurl_setopt($ch, CURLOPT_RETURNTRANSFER, true);curl_setopt($ch, CURLOPT_POST, true);curl_setopt($ch, CURLOPT_POSTFIELDS, $data_json);curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'Accept: application/json', 'Content-Type: application/json', 'Tracking-Api-Key: k2krhclt-x1bk-7x7m-w13i-q07qodfsnrdl']);// Exécuter la requête$response = curl_exec($ch);// Vérifier les erreursif(curl_errno($ch)) { echo 'Erreur Curl: ' . curl_error($ch);} else { // Afficher la réponse JSON echo 'Réponse de l\'API: '; print_r(json_decode($response, true)); // Affiche la réponse sous forme de tableau associatif}// Fermer la session cURLcurl_close($ch);?>