Request Transformer. Remove/Rewrite in totality

Hi

shows fine grained control over removing elements from the query string/body by parameter name.

Is there a way to remove the whole query string/body?

It seems a shame that (full) sanitation of query string/body requires KONG knowing any/all params that can be sent?

Or if there was a way to force replace the full query string/body?

Basically the use case is to have full control over the transformation with the option to rewrite fully.

Interesting that this more basic blunt rewrite doesn’t exist already, but the more fine grainer approach does. :slight_smile:

Or is there another plugin I should be using to achieve this before using the Request Transformer?

Cheers

n