C:\DataGuard\agent\DataGuardAgent\bin\Release\net8.0-windows\win-x64\publish>curl -i https://theosys.com/datasec/api/v1/enroll.php HTTP/1.1 400 Bad Request Date: Thu, 10 Sep 2026 16:28:20 GMT Server: Apache Cache-Control: no-store X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff Referrer-Policy: same-origin Strict-Transport-Security: max-age=31536000 Referrer-Policy: no-referrer X-XSS-Protection: 1; mode=block X-Permitted-Cross-Domain-Policies: none X-Content-Type-Options: nosniff Connection: close Transfer-Encoding: chunked Content-Type: application/json; charset=utf-8 {"ok":false,"error":"enrollment_key is required"} C:\DataGuard\agent\DataGuardAgent\bin\Release\net8.0-windows\win-x64\publish>curl -i -X POST https://theosys.com/datasec/api/v1/enroll.php -H "Content-Type: application/json" -d "{\"enrollment_key\":\"845fd4d16f146e93980e1d8a84f59b926188\",\"device_uuid\":\"847b8992-2146-47d2-9273-fa528b816865\",\"hostname\":\"VARghese-PC\",\"windows_user\":\"Varghese\",\"os_name\":\"Windows 10\",\"os_version\":\"10.0.19045\",\"agent_version\":\"1.0.0\"}" HTTP/1.1 200 OK Date: Thu, 10 Sep 2026 16:31:08 GMT Server: Apache Cache-Control: no-store X-Frame-Options: SAMEORIGIN X-Content-Type-Options: nosniff Referrer-Policy: same-origin Strict-Transport-Security: max-age=31536000 Referrer-Policy: no-referrer X-XSS-Protection: 1; mode=block X-Permitted-Cross-Domain-Policies: none X-Content-Type-Options: nosniff Transfer-Encoding: chunked Content-Type: application/json; charset=utf-8 {"ok":true,"device_id":1,"device_token":"8B464QTK9AlJn0WPkkJxePOXGhv-N9fC1HGCjpWorfJrY8yY"} C:\DataGuard\agent\DataGuardAgent\bin\Release\net8.0-windows\win-x64\publish>type appsettings.json { "DataGuard": { "ServerBaseUrl": "https://thosys.com/datasec", "EnrollmentKey": "845fd4d16f146e93980e1d8a84f59b926188", "HeartbeatSeconds": 120, "DriveScanSeconds": 5, "BrowserListenerPort": 17831, "HashMaxFileMB": 250, "HashExtensions": [ ".xlsx", ".xls", ".csv", ".docx", ".doc", ".pdf", ".zip", ".rar", ".7z", ".sql", ".txt" ], "WatchPaths": [] } } C:\DataGuard\agent\DataGuardAgent\bin\Release\net8.0-windows\win-x64\publish>