mirror of
https://github.com/sadoyan/aralez.git
synced 2026-04-30 23:08:40 +08:00
Standardization or JWT, JWT as URL param
This commit is contained in:
@@ -184,7 +184,7 @@ echo $TOK
|
|||||||
**Example Request with JWT token**
|
**Example Request with JWT token**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -H "x-jwt-token: ${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/
|
||||||
```
|
```
|
||||||
|
|
||||||
**Example Request with API Key**
|
**Example Request with API Key**
|
||||||
|
|||||||
Reference in New Issue
Block a user