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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

POST xml in http body with tfilefetch

Hi,
I want to send xml in the http body with he POST method.
How to do that ? Wenn I try the POST method it is only possible to set parameters and values.
I know that is easy with tRest but I use tfilefetch because it's the only component which can connect to my webservices via https without any problems.
regards
Uwe
Labels (4)
3 Replies
Anonymous
Not applicable

Hi,
I have designed a demo job sending .txt in the http body. See pic.
You can refer to the ticket on which it has some cases about the tFilefetch component https://jira.talendforge.org/browse/TDI-6349
Hope it will help you!
Best regards
Sabirna
Anonymous
Not applicable

Hi Xdshi
I am trying to do something similar. I am calling a REST API which needs authentication and cookies and I need to pass body to my HTTP POST call so I guess using only the tFileFetch component is an option for me. I went through the screenshots you had attached in the feature ticket, but i can't understand how the .txt files act as body to the HTTP request. Isn't the destination file name field used as a location where we want to save the fetched files?
Please help me with this, I am completely stuck with this.
Thanks,
Dhruv
Anonymous
Not applicable

Hi Sabrina,
   Where its sending .txt as http body......
In Sample job i am finding it no where....
URI is "http://www.codeproject.com/script/Membership/LogOn.aspx?rp=http%3a%2f%2fwww.codeproject.com%2fKB%2fcross-platform%2fjavacsharp.aspx&download=true"
I also has the same question that how can we pass the body to the HTTP request.
Thanks!!!
Jyotiranjan