🔧 Agent Registration Test

📝 Registering Agent:

Array
(
    [agent_id] => 117295468
    [agent_name] => Test Agent
    [pc_name] => TEST-PC
    [pc_ip] => 192.168.1.100
    [os_info] => Windows 10
)

✅ Registration Result:

Array
(
    [success] => 1
    [message] => Agent registered successfully
    [agent_id] => 117295468
)

📋 All Agents in Database:

Array
(
    [success] => 1
    [data] => Array
        (
            [0] => Array
                (
                    [id] => 2
                    [agent_id] => 117295468
                    [agent_name] => Test Agent
                    [pc_name] => TEST-PC
                    [pc_ip] => 192.168.1.100
                    [os_info] => Windows 10
                    [status] => online
                    [last_seen] => 2026-09-27 14:03:47
                    [installed_at] => 2026-03-29 19:00:09
                    [is_active] => 1
                )

            [1] => Array
                (
                    [id] => 1
                    [agent_id] => AGENT-WEBTEST-001
                    [agent_name] => Admin
                    [pc_name] => TEST-COMPUTER
                    [pc_ip] => 192.168.1.100
                    [os_info] => Windows 10
                    [status] => online
                    [last_seen] => 2026-03-28 15:37:00
                    [installed_at] => 2026-03-28 13:41:33
                    [is_active] => 1
                )

        )

)