I turned on the cache to cache GET requests but it also applies to POST, since post has no query string it currently caches the POST once and sticks with it no matter the POST body.
Is there a way to turn this off for the POST method or tell the cache that the post body has the key to cache it?
I would start by reading the documentation on this feature carefully.
You can enable caching at the stage level, and you can override cache settings at the method level. You can also specify headers, URL paths and query strings to be used as the cache key.
It's not clear what you have done at this point but you should be able to do one of the following to achieve your goals:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With