Can someone look into this issue.
From xslt after our logic execution we are setting token value in one of the new header by using below.
<dp:set-request-header name="'token'" value="$TokenValue"/>
Immediate policy is gatewayscript. How we can read above set variable value in gatewayscript.
We are reading as per below. But everytime it's showing undefined for all the below statements.
Is there anyother alternative option because I want to read variable value in Gatewayscript which is set in xslt.
var content= apim.getvariable('token');
var content = apim.getvariable('request.headers.token');
var content = apim.getvariable('message.headers.token');
#APIConnect#Support#SupportMigration