I'm trying to make http post request with the file as input and some tokens I'm passing in the request header which is working fine from the postman but the same is not working via python code below is the code which I'm trying but getting 401 error
files = {'upload_file': open('small.csv', 'rb')}
url = 'https://www.test.com'
header = {'token', 'abcd'}
r = requests.post(url, headers=header, files=files)


