2.75 seems to work normally.
I'm very happy. It isnt normally. ;(
2.75 seems to work normally. But still no info from blockmasters.
Try this.
create bmtest.ps1 with content in pools folder
Write-Host "BM.Test: start $([datetime]::Now)"
try {
$RequestStatus = Get-UrlAsJson "http://blockmasters.co/api/status"
if ($RequestStatus) { Write-Host "1: True" } else { Write-Host "1: False" }
}
catch { Write-Host "1: $_" }
Write-Host "BM.Test: 1 $([datetime]::Now)"
try {
$RequestCurrency = Get-UrlAsJson "http://blockmasters.co/api/currencies"
if ($RequestCurrency) { Write-Host "2: True" } else { Write-Host "2: False" }
}
catch { Write-Host "2: $_" }
Write-Host "BM.Test: 2 $([datetime]::Now)"
try {
$res1 = Invoke-WebRequest "http://blockmasters.co/api/status" -TimeoutSec 15 -UseBasicParsing
Write-Host "Lenght: $($res1.RawContentLength)"
}
catch { Write-Host "3: $_" }
Write-Host "BM.Test: 3 $([datetime]::Now)"
try {
$res2 = Invoke-WebRequest "http://blockmasters.co/api/currencies" -TimeoutSec 15 -UseBasicParsing
Write-Host "Lenght: $($res2.RawContentLength)"
}
catch { Write-Host "4: $_" }
Write-Host "BM.Test: end $([datetime]::Now)"
Aнд гo тo pyccиaн thread ...