$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