开发者

How to make a HTTP Post/GET request in Powershell?

开发者 https://www.devze.com 2023-02-19 01:26 出处:网络
I am using a REST API with a cloud service. Using Powershell, I need to make a HTTP Post, and also get, request.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消