Python reqeust

can I just ask…
I can upload pictures via ‘HTTP Request’ node, with ‘JSON/RAW’ and ‘send binary data’ enabled.

how would this node look like in Python requests?

r = request.post(url, data=…?..)

Thank you for your help :slight_smile:

Hey @JanMrlth1!

Do you want to make a request to send a file to your n8n workflow?

Hi Harshil,

i started to learn Python. I want to recreate in Python, what I already did in n8n: Send a picture to an API.

Hey @JanMrlth1, perhaps something like this might be what you are looking for? https://stackoverflow.com/questions/29104107/upload-image-using-post-form-data-in-python-requests