Answers for "powershell http request"

0

powershell http request

# Here we are using Invoke-WebRequest to retrieve web content from /r/PowerShell:
# retrieve dynamic content from a website
$webResults = Invoke-WebRequest -Uri 'https://reddit.com/r/powershell.json'
$rawJSON = $webResults.Content
$objData = $rawJSON | ConvertFrom-Json
$posts = $objData.data.children.data
$posts | Select-Object Title,Score | Sort-Object Score -Descending
Posted by: Guest on October-20-2021
0

web request powershell

Invoke-WebRequest -URI http://example.com/
Posted by: Guest on August-26-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language