Skip to content

Instantly share code, notes, and snippets.

@davidobrien1985
Created July 19, 2016 14:05
Show Gist options
  • Save davidobrien1985/ba1c2e11b1b23e1ec262cc4dc61fb6c8 to your computer and use it in GitHub Desktop.
Save davidobrien1985/ba1c2e11b1b23e1ec262cc4dc61fb6c8 to your computer and use it in GitHub Desktop.
Azure Functions example
$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