One Star

HTTP Header in tRest component

Hello,
we are using the tRest component to send HTTP requests to a service. Although we are using the header "Context-Length" the message "Missing required content length in HTTP header" pops up. Also the status is "Invalid Body".
Currently out manually inserted headers are: "User Agent", "Host", "Accept", "Content-Type", ...., "Content-Length" but are there lines that Talend sends itself? Is there a possibility to get a full output of the headers that Talend sends (something like netcat)?
Thanks and regards
Hans
1 REPLY
Community Manager

Re: HTTP Header in tRest component

Hi 
No a global variable or an option available on tRest for printing the headers information now. 
Regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business