I'm trying to migrate a portion of the existing Python code.
files = {"file": (filename, bytes_file)}
requests.post(url, files=files)
The existing HTTP request node doesn't allow passing a tuple like that,
so I tried writing the tuple portion after the File node in JavaScript. Is this possible?
You can use n8n Binary File options for your needs.
Just change the key parameters from Name field, and make it match with your needs.
2 Likes
@ewweasdf If this helps, kindly mark my message as the solution. This will help others with the same problem find the answer easily
thanks

