'08566211798', 'ci_csrf_token' => '' ]; // Mengubah data menjadi format query string $postData = http_build_query($data); // Mengatur opsi untuk request $options = [ 'http' => [ 'header' => "Content-Type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => $postData, ] ]; // Membuat konteks stream $context = stream_context_create($options); // Melakukan POST request $result = file_get_contents($url, false, $context); // Mengecek hasil if ($result === FALSE) { echo "Request gagal"; } else { // Menampilkan hasil response dalam format teks mentah header('Content-Type: text/plain'); // Memberikan header untuk menampilkan teks mentah echo $result; } ?>