Обновить token1.py
This commit is contained in:
parent
66ef65d087
commit
c47dbbe424
@ -1,6 +1,6 @@
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
TOKEN = "ВАШ_ТОКЕН"
|
TOKEN = "1e492421f399f9a19f6f58f4a20dcdffacf97625Н"
|
||||||
headers = {"Authorization": f"token {TOKEN}"}
|
headers = {"Authorization": f"token {TOKEN}"}
|
||||||
response = requests.get("https://git.vyatsu.ru/api/v1/user", headers=headers)
|
response = requests.get("https://git.vyatsu.ru/api/v1/user", headers=headers)
|
||||||
print(response.json())
|
print(response.json())
|
||||||
|
Loading…
Reference in New Issue
Block a user