Hi,
I have a requirement to extract user id and password from X-Authorization header.
I am using gateway script to extract X-Authorization header value which is in base64 encoded format.
When i try to decode extracted header value i tried with below buffer function , I am getting request in buffer data format. Can you please help with the steps to extract result value in plain text.
var AuthHeader = new Buffer('Zm9vAGJhcg==','base64');
Thanks.
------------------------------
srikanth talluri
------------------------------