Created
July 19, 2016 14:05
-
-
Save davidobrien1985/ba1c2e11b1b23e1ec262cc4dc61fb6c8 to your computer and use it in GitHub Desktop.
Azure Functions example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$res = Invoke-RestMethod -Method Get -Uri "http://avwx.rest/api/metar.php?station=$req_query_icao&format=JSON" -verbose | |
$res = $res.'Raw-Report' | |
Out-File -Encoding Ascii $response -inputObject "$res" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment