Merge pull request #343 from StevenTCramer/patch-1

Add PowerShell example to Readme.
This commit is contained in:
Alexei Yatskov 2022-07-25 18:04:18 -07:00 committed by GitHub
commit 55327b6ccf
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