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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
DBS1
Contributor III
Contributor III

Send JSON file instead of JSON data in Body using tRest Component in Talend

Hi

I have a requirement to POST the data using REST API.

But instead of sending the JSON data directly in Body of API, I need to send the JSON file.

How can this be accomplished in Talend.

Thanks

Dhanoop B S

Labels (4)
4 Replies
Anonymous
Not applicable

Hi

Take a a look at this topic, try with tFileFetch component to upload a file.

 

Regards

Shong

DBS1
Contributor III
Contributor III
Author

@Shicong Hong​ I will try with tFileFetch and will let u know the results.

DBS1
Contributor III
Contributor III
Author

@Shicong Hong​ I am able to achieve via tFileFetch. Is there any way to store the status code from API response into a file instead of printing to the console?

 

Anonymous
Not applicable

can you share a screenshot to show me the messages printed on the console and what data you want to extract?