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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Making HTTP request using trest and trestclient showing ierrors

Hello There,

   I am trying to send an HTTP request by GET and POST method.(Basically the idea is to extract xmls from Marklogic)
In Get Method i got the error which  i  have already raised in this forum.....
https://www.talendforge.org/forum/viewtopic.php?pid=171183#p171183
After that i have tried to use trest component of talend by sending a POST request by supplying a body.
After i have supplied the body it shows me the same authentication error i.e. error_code 401 of HTTP request.
Can any body please help me out if this is a bug or a simple example in which a body is being passed and some records are fetched using any of the talend components from Marklogic....
If this is a bug in Talend how to resolve it by any work around..
 Note: I am using the same URL in browser and able to download the file easyly so Authentication is not a problem here with the URL sending HTTP request.

Thanks!!
Jyotiranjan

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi Jyotiranjan

From topic, you are able to get the file with tFileFetch component, you can split the file to several XML files after that, and then extract data from the XML file.