DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Document Cache Header

  • 1.  Document Cache Header

    Posted Tue February 02, 2021 05:51 PM

    Hi there,

    I am trying to fetch token using DP URL call,

    For this I am passing two HTTP headers in HTTP call.

    1. x-dp-cache-key
    2. 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


  • 2.  RE: Document Cache Header

    Posted Mon February 08, 2021 08:10 AM

    Please create a support ticket to get this investigated



    #DataPower
    #Support
    #SupportMigration