How to send a file to https://api.monday.com/v2/file without having the file locally? I wish to send it as binary file through an API, instead of downloading it locally and then sending it to https://api.monday.com/v2/file.
Page 1 / 1
Hello @guyonmonday!
As of today, there is no way of uploading a file without having that file locally.
Let us know if you have any other questions 🙂
Cheers,
Matias
As far as i understand to upload a file you need to rill in this parameter when useing python:
files=[
(‘image’,(‘file’,open(‘/path/to/file’,‘rb’),‘application/octet-stream’))
]
I wonder if there are other ways you can fill in this part:
open(‘/path/to/file’,‘rb’)
for example filling this part with the binary value of the file you wish to upload as you get it from another source?
Reply
Login to monday.com
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.