Advertisement
neronv2

Untitled

Feb 8th, 2023
977
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. import requests as re
  2.  
  3. from requests.auth import HTTPBasicAuth
  4.  
  5. res = re.post('http://test01.test.smartmerch.it:5040/upload/classifier', auth=HTTPBasicAuth('smartmerch', 'smartmerch'), files={'upload_file': open('/home/zuenko/get-pip.py')})
  6. print(res.content)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement