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: 
Igor_V
Contributor
Contributor

How to use HTTP Headers from tRestClient in called service ?

Hi

I access the service (created with tRestRequest -> tRestResponce) using tRestClient component.

In tRestClient  I describe HTTP Headers.

How can I access this Headers inside the called service ?

Labels (3)
2 Replies
root
Creator II
Creator II

Hi,

In your tRestRequest, you need to define the parameter

 

Please check https://help.talend.com/r/jomWd_GKqAmTZviwG_oxHQ/53ZgjRgRIZBxKLOrSTD_CA

 

REST API Mapping section can help you set the correct header parameter types and capture them via tJavaRow (tRestRequest -> tJavaRow (plus any other processing) -> tRestResponse)

 

Hope this helps.

Igor_V
Contributor
Contributor
Author

Thank you, everything is clear.