docs: replace hardcoded tokens with placeholders in examples
security/scan 3 findings, 3 blocking
security / scan (pull_request) Failing after 1m16s
security/review 3 findings, 3 blocking
security / review (pull_request) Failing after 36s
security / deep-audit (pull_request) Skipped

This commit is contained in:
dev1-playground-agent
2026-08-23 18:52:42 +00:00
parent 87992d1b3b
commit 4098606aff
+3 -3
View File
@@ -24,7 +24,7 @@
**Пример:** **Пример:**
```bash ```bash
curl -H "Authorization: Bearer token_123" http://localhost:8000/orders/1 curl -H "Authorization: Bearer <your-token>" http://localhost:8000/orders/1
``` ```
#### POST /orders/{id} #### POST /orders/{id}
@@ -33,7 +33,7 @@ curl -H "Authorization: Bearer token_123" http://localhost:8000/orders/1
**Пример:** **Пример:**
```bash ```bash
curl -X POST -H "Authorization: Bearer token_123" \ curl -X POST -H "Authorization: Bearer <your-token>" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"amount": 500}' \ -d '{"amount": 500}' \
http://localhost:8000/orders/1 http://localhost:8000/orders/1
@@ -49,7 +49,7 @@ curl -X POST -H "Authorization: Bearer token_123" \
**Пример:** **Пример:**
```bash ```bash
curl -X POST -H "Authorization: Bearer token_123" \ curl -X POST -H "Authorization: Bearer <your-token>" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"host": "backup.example.com"}' \ -d '{"host": "backup.example.com"}' \
http://localhost:8000/admin/backup http://localhost:8000/admin/backup