How to make a HTTP Post/GET request in Powershell?
I am using a REST API with a cloud service. Using Powershell, I need to make a HTTP Post, and also get, request.
How could I do this in 开发者_高级运维a simple, concise manner?
Thanks
Give this HttpRest module that Jaykul wrote a try. Use Invoke-Http
and Invoke-Http -verb post
. Be sure to read the INSTALL comments because it has some prerequisites you need to install first.
精彩评论