REST call custom headers - not retrieved

1
Hello can anyone help me please, I have a REST call, I want to know if the custom header is added to the request but when i retrieved the headers it wasn’t there. Am i doing this wrong?
asked
2 answers
2

Hi, 

 

You’re retrieving the headers of the HTTP response, not of the HTTP request that you’re sending. 

Try to change the loglevels of the “REST Consume” to trace, the headers should be visible in the console log then.

answered
0

Hey Guy,

everything you did seems to be good, 

For checking what headers are being sent, just go to console→ advanced→ log levels 

I the log levels, set the ‘REST consume’ to trace and run the application, this way you can see what headers are being sent, and where’s the issue. 

Hope it helps!

answered