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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Y_1
Contributor
Contributor

How to access response headers from tREST

Hi,

Only Variable "Body" and Variable "error_code" are available from tREST. Can anyone tell me how to access response headers. Thanks!

Labels (3)
3 Replies
Anonymous
Not applicable

Hi

see this topic

https://community.talend.com/s/question/0D53p00007vCp1HCAS/accessing-response-headers-from-trest

Using tRestClient instead of tREST, you are able to access the response header.

 

Regards

Shong

Y_1
Contributor
Contributor
Author

Hi @Shicong Hong​, thank you for your reply. I tried tRESTCLIENT but ran into "HTTP 411 Length Required". According to some existing posts in the community, I checked "Disable chunk encodinged", added header "Content-Length" with value 0 since there is no message in the body. (config screenshots attached)

Y_1
Contributor
Contributor
Author

Screenshot for the basic settings