Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Invoke-RestMethod

Invoke-RestMethod - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Invoke-RestMethod

Short description
Sends an HTTP or HTTPS request to a RESTful web service.

Syntax


Description
The Invoke-RestMethod cmdlet sends HTTP and HTTPS requests to Representational State Transfer (REST) web services that 
returns richly structured data.


Windows PowerShell formats the response based to the data type. For an RSS or ATOM feed, Windows PowerShell returns 
the Item or Entry XML nodes. For JavaScript Object Notation (JSON) or XML, Windows PowerShell converts (or 
deserializes) the content into objects.


This cmdlet is introduced in Windows PowerShell 3.0.