How to pass multiple parameters in PowerShell invoke-restmethod

Link: http://www.tagwith.com/question_322855_how-to-pass-parameters-in-powershell-invoke-restmethod-post 

 

Examples:  Invoke-RestMethod -Uri http://localhost:49879/api/values -Method Post -Body @{param1=test;param2=test2} 

 

posted @ 2015-07-16 10:34  卜海清  阅读(162)  评论(0编辑  收藏  举报