Merge pull request #480 from jwmoss/master
Replaced Invoke-WebRequest with Invoke-RestMethod
This commit is contained in:
commit
2c9385ae33
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue