Invoking RESTful APIs from PowerShell Scripts
:
Input Format
Input Format
If the request requires parameters that do not reside in the URL, such as POST requests, specify the input format type using the
–ContentType
argument and switch between XML and JSON.