Files
aza/AzA march 2026 - Kopie (2)/deploy/test-telemetry-update-check.ps1
2026-03-30 07:59:11 +02:00

13 lines
287 B
PowerShell

$body = @{
event = "update_check"
version = "0.1.0"
platform = "windows"
target_version = "0.2.0"
} | ConvertTo-Json -Compress
Invoke-RestMethod `
-Method Post `
-Uri "http://localhost:8080/telemetry/ping" `
-ContentType "application/json" `
-Body $body