Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Wchan1594662165
Contributor II
Contributor II

How to set tFileInputJSON as body in POST request with tRestClient?

I'm using tRestClient to POST that requires a body and uses a keystore. I understand in query parameters I need to pass the body as input row to tRestClient component. I have tFileInputJSON component that reads into a JSON file that contains the body. However, I'm very new to Talend and quite confused on how to set tFileInputJSON component as input row for tRestClient to read as query parameter (type --> Document) while using the keystore with subjob set.

Any help would be greatly appreciated - thanks!

Labels (2)
2 Replies
manodwhb
Champion II
Champion II

Try to follow scenario one for trestclinet, let us know if it helped.

https://help.talend.com/reader/KxVIhxtXBBFymmkkWJ~O4Q/~V42EBQClKxKQghNvzHF1g

 

Otherwise attach a sample response of api.

NBusser
Contributor
Contributor

Hello,

This link is outdated, would it be possible to have an up-to-date link?
Because the answer to this question interests me

Thanks