Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Only Variable "Body" and Variable "error_code" are available from tREST. Can anyone tell me how to access response headers. Thanks!
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
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)
Screenshot for the basic settings