curl --location 'http://127.0.0.1:8000/api/devices' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"data": [
{
"id": 1,
"name": "Firewall Main",
"IP address": "192.168.1.1",
"operating system": "Linux",
"status": "active"
},
{
"id": 2,
"name": "Database Server",
"IP address": "192.168.1.20",
"operating system": "Ubuntu Server",
"status": "active"
},
{
"id": 3,
"name": "Windows Endpoint",
"IP address": "192.168.1.50",
"operating system": "Windows 11",
"status": "maintenance"
}
]
}