Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver3
1いいね 54回再生

Windows | Windows 10 | Powershell tutorial | How to call REST Service from powershell

This video demonstrates how to call a simple REST API from power shell.

code snippet is here!

$uri = "api.openweathermap.org/data/2.5/weather?q=Mysore,i…"
$response = Invoke-WebRequest -Uri $uri
$response.Content | ConvertFrom-Json | ConvertTo-Html |out-File weather.htm; ii weather.htm

コメント