Update Banyak
This commit is contained in:
@@ -12,7 +12,7 @@ $API = new RouterosAPI();
|
||||
$API->debug = false;
|
||||
|
||||
// Konfigurasi MikroTik
|
||||
$ip = '103.188.169.125';
|
||||
$ip = '103.155.198.185';
|
||||
$username = 'apirjn';
|
||||
$password = '@APIRJN123';
|
||||
$port = '6644';
|
||||
@@ -83,7 +83,7 @@ if ($API->connect2($ip, $username, $password, $port)) {
|
||||
}
|
||||
|
||||
header('Content-Type: application/json');
|
||||
// echo json_encode($response, JSON_PRETTY_PRINT);
|
||||
echo json_encode($response, JSON_PRETTY_PRINT);
|
||||
|
||||
} else {
|
||||
echo json_encode([
|
||||
|
||||
Reference in New Issue
Block a user