curl --location 'http://127.0.0.1:8000/api/devices' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {token}' \
--header 'Content-Type: application/json' \
--data '{
"name": "MacBook Pro",
"ip_address": "192.122.23.1",
"operating_system": "Windows Home",
"status": "maintenance"
}'{
"message": "Device created successfully",
"data": {
"id": 4,
"name": "HP 240 G7",
"IP address": "192.120.17.1",
"operating system": "Microsoft Windows 10 Pro",
"status": "maintenance"
}
}