Hi there,
I am trying to fetch token using DP URL call,
For this I am passing two HTTP headers in HTTP call.
- x-dp-cache-key
- Authorization
While sending both headers, I have noticed my service is not creating cache entry. If I send only x-dp-cache-key, cache is getting created with entry.
Can you please guide me what I am missing here
Code Used
<xsl:variable name="headerValues">
<header name="Authorization">
<xsl:value-of select="$basicAuthInfo" />
</header>
<header name="x-dp-cache-key">
<xsl:value-of select="'test'" />
</header>
</xsl:variable>
<dp:url-open target="{$endpointVar}" http-method="post" http-headers="$headerValues" content-type="application/x-www-form-urlencoded" timeout="60" response="responsecode-binary" data-type="json" />
Many thanks
#DataPower#Support#SupportMigration