Last active
June 5, 2019 08:06
-
-
Save kstefan/0feee4543d511ec60a91222367a2dc5e to your computer and use it in GitHub Desktop.
Call rest api via Invoke-RestMethod (PowerShell)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Invoke-RestMethod -Uri 'http://example.com' ` | |
| -Method Post -ContentType 'application/json' -Body '{"hello": "world"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment