From 76d20ca79fb92d9dc19a0262fdc5e3113a2c51f5 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 19 Apr 2020 18:04:40 +0200 Subject: Windows Shell + add windows powershell commands for reference --- static/Readme.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'static') 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 ``` -- cgit v1.2.3-54-g00ecf