webMethods

 View Only

 [API Gateway cloud] Service Result Cache filter on REST payload

Bastiaan Rodenburg's profile image
Bastiaan Rodenburg posted Fri June 13, 2025 11:06 AM

Is there a way to use the Service Result Cache based on fields within the JSON payload? I only see an option for XPath queries in SOAP payloads.

Background: I'm hosting an API with a POST method for claims (retrieve claims after login in using a hosted IAM). This is requested multiple times per login within a few seconds and I don't want to hit webmethods.io for every one of them. The principal id is passed in the JSON payload.