12 lines
255 B
PowerShell
12 lines
255 B
PowerShell
|
|
$body = @{
|
||
|
|
event = "app_start"
|
||
|
|
version = "0.1.0"
|
||
|
|
platform = "windows"
|
||
|
|
} | ConvertTo-Json -Compress
|
||
|
|
|
||
|
|
Invoke-RestMethod `
|
||
|
|
-Method Post `
|
||
|
|
-Uri "http://localhost:8080/telemetry/ping" `
|
||
|
|
-ContentType "application/json" `
|
||
|
|
-Body $body
|