Update HTTP REST API
@@ -301,7 +301,7 @@ curl -u USER:PASS -X POST \
|
|||||||
|
|
||||||
## 🖥️ Example Usage with curl
|
## 🖥️ Example Usage with curl
|
||||||
|
|
||||||
### 1️⃣ Hash your password
|
### Hash your password
|
||||||
The API requires the password to be hashed with **BLAKE2b-384** before sending.
|
The API requires the password to be hashed with **BLAKE2b-384** before sending.
|
||||||
|
|
||||||
Example in Linux/macOS (requires `b2sum` from coreutils):
|
Example in Linux/macOS (requires `b2sum` from coreutils):
|
||||||
@@ -315,7 +315,7 @@ import hashlib
|
|||||||
print(hashlib.blake2b(b"mypassword", digest_size=48).hexdigest())
|
print(hashlib.blake2b(b"mypassword", digest_size=48).hexdigest())
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2️⃣ Make an authenticated request
|
### Make an authenticated request
|
||||||
|
|
||||||
Example: List directory items in `/myfolder`
|
Example: List directory items in `/myfolder`
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user