API Connect

API Connect

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

cache response by using urlopen??

  • 1.  cache response by using urlopen??

    Posted Mon March 24, 2025 12:52 PM
    Edited by vijaya k k Mon March 24, 2025 08:26 PM

    Hi All,

    Please provide your inputs. In my API, I use an invoke statement to call a backend target URL and retrieve a token as a response. I then cache this token for sometime and use the same token instead of making a backend call multiple times. Can the same scenario, including caching the response, be achieved using urlopen, or can we cache the response when we are reading it after urlopen is done?"



    ------------------------------
    vijaya k k
    ------------------------------