summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornico <nico@magicbroccoli.de>2020-04-19 18:04:40 +0200
committernico <nico@magicbroccoli.de>2020-04-19 18:04:40 +0200
commit76d20ca79fb92d9dc19a0262fdc5e3113a2c51f5 (patch)
treec5d80b24b876a7fcd5ab60bd8c2d428902b7a8db
parent33033633336b5f30725ec6bd460ba4f2abe18e19 (diff)
Windows ShellHEADmaster
+ add windows powershell commands for reference
-rw-r--r--static/Readme.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/Readme.md b/static/Readme.md
index 3be39cb..2031826 100644
--- a/static/Readme.md
+++ b/static/Readme.md
@@ -28,6 +28,7 @@ The Joplin UserManagement WebApi utilizes [url encoded](https://en.wikipedia.org
**Example**
```bash
curl --data "password=super_secret&invite-code=nachos" https://domain.tld/joplin/jim/create
+Invoke-WebRequest -Method POST -body @{password='super_secret'; invite='nachos'} -Uri https://domain.tld/joplin/jim/create
```
---
@@ -56,6 +57,7 @@ curl --data "password=super_secret&invite-code=nachos" https://domain.tld/joplin
**Example**
```bash
curl --data "password=super_secret&new_password=5up3r_53cr37" https://domain.tld/joplin/jim/changepw
+Invoke-WebRequest -Method POST -body @{password='super_secret'; new_password='5up3r_53cr37'} -Uri https://domain.tld/joplin/jim/changepw
```
---
@@ -82,4 +84,5 @@ curl --data "password=super_secret&new_password=5up3r_53cr37" https://domain.tld
**Example**
```bash
curl -X DELETE --data "password=super_secret" https://domain.tld/joplin/jim
+Invoke-WebRequest -Method DELETE -Uri https://domain.tld/joplin/jim?password=super_secret
```