DD
Size: a a a
DD
JF
DD
DD
DD
DD
DD
JF
DD
JF
DD
JF
JF
JF
JF
def upload_image_telegraph(path_image):
with open(path_image, 'rb') as f:
result_requests = requests.post(
'http://telegra.ph/upload',
files={'file': ('file', f, 'image/jpg')} # image/gif, image/jpeg,image/jpg, image/png, video/mp4
).json()
return result_requests
JF
К
DD
JF
JF