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.
This commit is contained in:
Steven T. Cramer 2022-07-25 11:49:55 +07:00 committed by GitHub
parent 07ddcead5e
commit 4010293efa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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