| Name | Last Update | Last Commit c37dc1704e9 – add adm directory | history |
|---|---|---|---|
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
README.md
main.py
from components.adm.adm.views import adm from components.test.test.views import test
app.register_blueprint(adm, url_prefix='/adm')
cd components/adm pip install -r requirements.txt
endpoint "http://127.0.0.1:5000/adm/register" dictionary to register in such way { "login": "xxx", "password": "xxx", "name": "xxx", "email": "xxx" }
endpoint "http://127.0.0.1:5000/adm/login" dictionary to login in such way { "login":"xxx", "password":"xxx" }
endpoint http://127.0.0.1:5000/adm/changePassword dictionary to changePassword in such way { "old_password":"xxx", "new_password": "xxx", "re_new_password": "xxx" } endpoint http://127.0.0.1:5000/adm/newUser { "login": "xxx", "password": "xxx", "name": "xxx", "email": "xxx", "phone": "xxx", "repassword": "xxx"
}