$r = Invoke-WebRequest 'http://localhost:7070/' -UseBasicParsing -ErrorAction SilentlyContinue
if ($r) {
    Write-Host "Status: $($r.StatusCode)"
    Write-Host "Content-Type: $($r.Headers['Content-Type'])"
    Write-Host "Size: $($r.Content.Length) bytes"
    Write-Host "---First 300 chars---"
    Write-Host $r.Content.Substring(0, [Math]::Min(300, $r.Content.Length))
} else {
    Write-Host "Request failed"
}
