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
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 componenthttps://jira.talendforge.org/browse/TDI-6349 Hope it will help you! Best regards Sabirna
-- Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
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
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