Skip to main content

Hello all,

I’m creating a migration tool where the idea is to transfer text and upload images. 

 

The image is to be sent like this insomnia call:

 

so it’s a multiform POST where you send a binary file. 

is this possible in Thinkwise? I know it’s not doable with the web connection, but maybe with the http connector it is. 

I saw some post from a very long time ago, so maybe much has changed. 

 

I’d appreciate your help!

Hi Tiago,

It is not yet supported in the web connector indeed. It is possible through the HttpConnector but it is a bit complicated.

There are two examples here to make it work:

sending a pdf with the http connector | Thinkwise Community

HTTP connector form-data | Thinkwise Community

Notice the use of the varbinary datatype in both examples to have full control over the request body (with the mandatory newlines, Boundary and content-disposition fields.

I hope this helps,

Regards,

Dick van den Brink


Hi ​@tiago,

Did you have a chance to see if Dick’s response helped you any further?


Hey ​@Jeroen van den Belt ,

Yes I did have a look at the examples ​@Dick van den Brink sent. Thank you ​@Dick van den Brink for trying to helo out. 

Building the body in this was aparently was too complicated for chatGPT and way out of my lead to do it myself, so I had to give up and reach to other tools that do this out of the box, like N8N what we use in these cases.