This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
How to Cache the POST request?The Cache for GET request worked using
Response Cache Policy but not for POST.Need to cache POST request, no
need to hit the resource if the POST request is same by one of the
element in the payload.
@Anil Sagar @ Google Thank you for the reply.I understand POST should
not be used but I have a requirement where I get the common response
when the payload has some unique value in it.Please find below how I
need the POST to get executed.I mean to sa...
Thank you for the reply.I mean to say cache works only if the uri
changes and not when the payload changes. So I needed to cache based on
one of the element in payload , if that element varies then it should
not cache instead call the backend service...
@dane knezic Thank you for the reply.I mean to say cache works only if
the uri changes and not when the payload changes. So I needed to cache
based on one of the element in payload , if that element varies then it
should not cache instead call the ba...