Multipart POST request issue

#1

I was trying to convert a curl command to something digestible by Knime, but after some search, I realized it’s not possible to create multipart POST request (-F option in cURL) in Knime. Since my post request includes uploading an image file, I failed to find a way to make it, with a constant body solution.
Before trying to handle it in R, wanted to ask once, if it’s certainly not possible to create a multipart POST request involving image upload, in native Knime environment?
Thanks,

0 Likes

#2

Hi @rogerwilco,

You might be able to achieve this using the Palladian extensions, see here: POST in HTTP-Retriever - including file upload (multiple body content)

Cheers,
Roland

0 Likes

#3

Hi @RolandBurger thanks for the link. I have found another solution but I will keep this link handy, in case my solution fails.

0 Likes

#4

@rogerwilco I am curious to the other solution you have. Could you please explain it?

0 Likes

#5

@Nmechairia hi, unfortunately the solution I found was not in knime environment. It’s solved using a custom python script.

0 Likes