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: 
Anonymous
Not applicable

How to use the tRest component output

Hi!
I'm using the 'tRest' component to perform a HTTP Post. When that request succeeds, I receive information in XML format. How can I access that information in the next component? My next step is to convert that information in a CSV format. And if I want to save the information I get from the HTTP Post into a XML file, how can I do that?
Thanks.
Labels (5)
3 Replies
Anonymous
Not applicable
Author

Hi
You can use a tExtractXMLField to extract the value from the response of tRest in XML format.
Shong
Anonymous
Not applicable
Author

Should I be able to use the response of the tRest component (the String called 'Body') in the 'tExtractXMLField'? I can't access it from any component...
Thanks
Anonymous
Not applicable
Author

Yes, you can extract the value from the body filed on tExtractXMLField, the job looks like:
tRest--main--tExtractXMLField--main--tAdvancedFileOutputXML
If you can't still get it work, please show us the content of the response of tRest component, what's the response looks like after you call the web service with tRest?
Shong