Merge pull request #480 from jwmoss/master

Replaced Invoke-WebRequest with Invoke-RestMethod
This commit is contained in:
Igor Chubin 2020-06-26 07:25:56 +02:00 committed by GitHub
commit 2c9385ae33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,9 @@ but it's still a live weather report in your language.)
Or in PowerShell:
(Invoke-WebRequest http://wttr.in).Content
```PowerShell
Invoke-RestMethod http://wttr.in
```
Want to get the weather information for a specific location? You can add the desired location to the URL in your
request like this: