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: 
_AnonymousUser
Specialist III
Specialist III

Send a file through webservice with multipart/form-data + metadata

Hello,
I'm trying to send a file to webservice, that only accept POST requests with multipart/form-data content type, but I didn't manager to get an appropriate result. This webservice (a provided API) accept file in one of the parts, with additionals metadata (other business information).
I've tried :
- tRest, but it doesn't seem to support multipart/form-data, even if ContentType is filled
- tHttpRequest, but as far as I understand, I had to write all the body content in a file (not straight forward)
- tFetchFile, as per message (http://www.talendforge.org/forum/viewtopic.php?pid=70691), it should work, but I don't understand how
The only way I found is to code my own component, and even it seems to work, I'm still looking for a native solution.
Do someone have any working example ?
Labels (3)
1 Reply
Anonymous
Not applicable

Hi,
Have you viewed component reference TalendHelpCenter:tFileFetch with scenarios?
Best regards
Sabrina