Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tRestclient with multipart files not supported by Talend

Hello,

I have to attach files into an app.

Trying to call a multipart REST service with PUT method.

This service allows us to send a file to an application attached to some “objects” in the database.

We have 2 files attached in the body:

The 1st one is the “content” we with to send to the application : "C:/Talend/Data/DEV/Avio/documentIwantToSend.jpeg" (for the demo … but it will contain text file produced by Talend from database extraction)

The 2nd one is an xml containing the parameters to attach this file to the correct objects :

"C:/Talend/Data/DEV/Avio/briefingRulesValid.xml"

Method is PUT

I have https://myprovider.../mo/rest/vi/servicename/attachmentid = 001

Authorization is managed thru Basic Auth (with a username & password provided by the provider).

It works perfectly in POSTMAN but Talend support informed me that it is not supported by tRESclient ...

It seems to require java code ...

Anyone having such experience ? able to show examples ?

regards

Damien

Labels (4)
0 Replies