Добавлены логи Wireshark, исправлен requestAPIgitea.py
This commit is contained in:
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
import requests
|
import requests
|
||||||
|
|
||||||
TOKEN = "TOKEN"
|
TOKEN = "43a9838d6f54c767e066e3c7f2d2517026f6912e"
|
||||||
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())
|
||||||
Reference in New Issue
Block a user