Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

How to invoke a REST service using PowerShell Script

$
0
0

I have a REST service with below details - 

HttpVerb - POST
URL - https://myhost/MyService/api/healthcheck

Headers- 

Client-ID:ABC
Client-Secret:123456

Request Body: 

{
    "Account":[{
        "ID":"34535",
        "Category": "MMW"
    }]
}

Can anyone let me know how can I create a powershell script to invoke this service ?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>