Skip to content

Commit 4677ad8

Browse files
docs: update
1 parent a71a252 commit 4677ad8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

readme.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,20 @@
4545
>> ```
4646
```shell
4747
sudo docker-compose run request-evaluation poetry run python -m alembic upgrade head
48-
```
48+
```
49+
50+
# Основные URL
51+
52+
* http://127.0.0.1:8000/traffic/
53+
* (POST) - принимает запрос с секретным ключем и увеличивает счетчик
54+
* http://127.0.0.1:8000/traffic/{token_access}/
55+
* token_access - указывается для доступа к страницам из .env
56+
* (GET) - проверяет токен доступа к странице
57+
* http://127.0.0.1:8000/identification_site/
58+
* форма для создания токена доступа к новому сайту
59+
* (POST) - отправляет название и секретный ключ
60+
* http://127.0.0.1:8000/identification/
61+
* (POST) - принимает и добавляет в бд новую запись
62+
* http://127.0.0.1:8000/info/{identification_site}/
63+
* identification_site - секретный ключ сайта
64+
* (GET) - вывод текущей статистики

0 commit comments

Comments
 (0)