HTTP HEADER AND VIRTUAL REST API

We have a virtual REST API defined for a native API and in the virtual API request processing step ( via IS service), we would like to capture the HTTP ( a CUSTOM) header name and value and do some processing. In our particular case getting a token via header and validate it against some IDP.

We tried to use pub.mediator.ctxvar:getContextVariable api to get the incoming header value - let say CUST_TOKEN and its value but not able to get it. Any advice is greatly appreciated.

Mediator and CentraSite v9.7 is being used.

Duplicate topic. Please find my response on original topic @ http://tech.forums.softwareag.com/techjforum/posts/list/58242.page#217152