Suppose we want the HTML content of "http://www.dotnetfunda.com/".
The below code will help to do so -
Invoke-RestMethod -Uri http://www.dotnetfunda.com/ -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 .