How to get the contents of a web page?

Posted by Rajnilari2015 under PowerShell category on | Points: 40 | Views : 1384
Suppose we want the HTML content of "".
The below code will help to do so -

Invoke-RestMethod -Uri -Method Get

The Invoke-RestMethod cmdlet sends HTTP and HTTPS requests to Representational State Transfer (REST) web services. The GET Method is use to make the READ Http request .

Comments or Responses

Posted by: Snaini on: 10/12/2015 Level:Starter | Status: [Member] | Points: 10
To Check Web Services we can use Rest Client add on for mozilla.

Login to post response