mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-30 23:08:40 +08:00
README update
This commit is contained in:
@@ -196,10 +196,18 @@ echo $TOK
|
|||||||
|
|
||||||
**Example Request with JWT token**
|
**Example Request with JWT token**
|
||||||
|
|
||||||
|
With `Authorization: Bearer` header
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -H "Authorization: Bearer ${TOK}" -H 'Host: myip.mydomain.com' http://127.0.0.1:6193/
|
curl -H "Authorization: Bearer ${TOK}" -H 'Host: myip.mydomain.com' http://127.0.0.1:6193/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
With URL parameter (Very useful if you want to generate and share temporary links)
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl -H 'Host: myip.mydomain.com' "http://127.0.0.1:6193/?gazantoken=${TOK}`"
|
||||||
|
```
|
||||||
|
|
||||||
**Example Request with API Key**
|
**Example Request with API Key**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user