From 4010293efae8c7a9cabb8a71d7cdb298e0291ece Mon Sep 17 00:00:00 2001 From: "Steven T. Cramer" Date: Mon, 25 Jul 2022 11:49:55 +0700 Subject: [PATCH] Add PowerShell example to Readme. Now that PowerShell is cross platform it is my go to shell. Thought I would add an example to the readme. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0d934c6..dbe169f 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,12 @@ included below as reference. curl localhost:8765 -X POST -d '{"action": "deckNames", "version": 6}' ``` +#### Powershell + +```powershell +(Invoke-RestMethod -Uri http://localhost:8765 -Method Post -Body '{"action": "deckNames", "version": 6}').result +``` + #### Python ```python